Commit d987b94e authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

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.
parent 31cdb867
......@@ -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());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment