[autotests] Gracefully destroy xdg client

This commit is contained in:
Vlad Zahorodnii 2019-09-23 22:57:50 +03:00
parent 168ea98845
commit a4ec797883

View file

@ -435,6 +435,10 @@ void InternalWindowTest::testKeyboardTriggersLeave()
kwinApp()->platform()->keyboardKeyPressed(KEY_A, timestamp++);
QVERIFY(enteredSpy.wait());
kwinApp()->platform()->keyboardKeyReleased(KEY_A, timestamp++);
// Destroy the test client.
shellSurface.reset();
QVERIFY(Test::waitForWindowDestroyed(c));
}
void InternalWindowTest::testTouch()