mirror of https://gitee.com/openkylin/kwin.git
do not set keyboard focus on grab popup
This commit is contained in:
parent
c4f23d234d
commit
8afa5a321b
|
@ -73,14 +73,14 @@ bool PopupInputFilter::keyEvent(QKeyEvent *event)
|
|||
return false;
|
||||
}
|
||||
|
||||
auto seat = waylandServer()->seat();
|
||||
// auto seat = waylandServer()->seat();
|
||||
|
||||
auto last = m_popupClients.last();
|
||||
if (last->surface() == nullptr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
seat->setFocusedKeyboardSurface(last->surface());
|
||||
// seat->setFocusedKeyboardSurface(last->surface());
|
||||
|
||||
if (!passToInputMethod(event)) {
|
||||
passToWaylandServer(event);
|
||||
|
|
Loading…
Reference in New Issue