Update keyboard focus when exiting from a keyboard-grabbing effect

BUG: 479628
wilder/Plasma/6.2
Jin Liu 2 years ago
parent e427ad73aa
commit 18ba622c40
  1. 2
      src/effect/effecthandler.cpp

@ -27,6 +27,7 @@
#include "input_event.h"
#include "inputmethod.h"
#include "inputpanelv1window.h"
#include "keyboard_input.h"
#include "opengl/glutils.h"
#include "osd.h"
#include "pointer_input.h"
@ -443,6 +444,7 @@ void EffectsHandler::ungrabKeyboard()
Q_ASSERT(keyboard_grab_effect != nullptr);
doUngrabKeyboard();
keyboard_grab_effect = nullptr;
input()->keyboard()->update();
}
void EffectsHandler::doUngrabKeyboard()

Loading…
Cancel
Save