do not set keyboard focus on grab popup

This commit is contained in:
liujie01 2023-04-17 17:42:43 +08:00
parent c4f23d234d
commit 8afa5a321b
1 changed files with 2 additions and 2 deletions

View File

@ -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);