input: Move drag and drop filter after screen edge filter

Allows screen edges to react to events even during drag and drop.
This commit is contained in:
Kai Uwe Broulik 2023-12-14 12:56:05 +01:00
parent 032891be60
commit b5fb9db369

View file

@ -2936,19 +2936,20 @@ void InputRedirection::setupInputFilters()
installInputEventFilter(m_terminateServerFilter.get());
}
m_dragAndDropFilter = std::make_unique<DragAndDropInputFilter>();
installInputEventFilter(m_dragAndDropFilter.get());
m_lockscreenFilter = std::make_unique<LockScreenFilter>();
installInputEventFilter(m_lockscreenFilter.get());
m_windowSelector = std::make_unique<WindowSelectorFilter>();
installInputEventFilter(m_windowSelector.get());
if (hasGlobalShortcutSupport) {
m_screenEdgeFilter = std::make_unique<ScreenEdgeInputFilter>();
installInputEventFilter(m_screenEdgeFilter.get());
}
m_dragAndDropFilter = std::make_unique<DragAndDropInputFilter>();
installInputEventFilter(m_dragAndDropFilter.get());
m_windowSelector = std::make_unique<WindowSelectorFilter>();
installInputEventFilter(m_windowSelector.get());
#if KWIN_BUILD_TABBOX
m_tabboxFilter = std::make_unique<TabBoxInputFilter>();
installInputEventFilter(m_tabboxFilter.get());