autotests: Fix stuck A key in testInputMethod

There's a press event but no matching release event.


(cherry picked from commit de48120c2a)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
wilder/Plasma/6.2
Vlad Zahorodnii 1 year ago
parent fee0bfd1e0
commit 7ca8f39cd8
  1. 2
      autotests/integration/inputmethod_test.cpp

@ -664,6 +664,8 @@ void InputMethodTest::testModifierForwarding()
shellSurface.reset();
QVERIFY(Test::waitForWindowClosed(window));
QVERIFY(!kwinApp()->inputMethod()->isActive());
Test::keyboardKeyReleased(KEY_A, timestamp++);
}
void InputMethodTest::testFakeEventFallback()

Loading…
Cancel
Save