[autotests] Gracefully destroy xdg client

icc-effect-master
Vlad Zahorodnii 2019-09-23 22:57:50 +03:00
parent 168ea98845
commit a4ec797883
1 changed files with 4 additions and 0 deletions

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()