inputmethod: do not deactivate the context when key is pressed

When keyboard_grab is implemented, if we reset the inputmethod context
on any key, input method will not get keyboard input and will not be
able to use it.
This commit is contained in:
Bhushan Shah 2020-10-14 13:55:42 +05:30
parent 31cdb8676d
commit d987b94e42

View file

@ -106,7 +106,6 @@ void InputMethod::init()
new VirtualKeyboardDBus(this);
qCDebug(KWIN_VIRTUALKEYBOARD) << "Registering the DBus interface";
connect(input(), &InputRedirection::keyStateChanged, this, &InputMethod::hide);
if (waylandServer()) {
new TextInputManagerV2Interface(waylandServer()->display());