fix No globalshortcuts with popup grab

BUG: 431046
This commit is contained in:
Andrey Butirsky 2021-07-21 15:23:42 +03:00
parent 25b85607d0
commit b45f5c3a66

View file

@ -2277,7 +2277,6 @@ void InputRedirection::setupInputFilters()
}
installInputEventFilter(new DragAndDropInputFilter);
installInputEventFilter(new LockScreenFilter);
installInputEventFilter(new PopupInputFilter);
m_windowSelector = new WindowSelectorFilter;
installInputEventFilter(m_windowSelector);
}
@ -2292,6 +2291,9 @@ void InputRedirection::setupInputFilters()
if (hasGlobalShortcutSupport) {
installInputEventFilter(new GlobalShortcutFilter);
}
if (waylandServer()) {
installInputEventFilter(new PopupInputFilter);
}
installInputEventFilter(new DecorationEventFilter);
installInputEventFilter(new InternalWindowEventFilter);
if (waylandServer()) {