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:
parent
032891be60
commit
b5fb9db369
1 changed files with 7 additions and 6 deletions
|
@ -2936,19 +2936,20 @@ void InputRedirection::setupInputFilters()
|
||||||
installInputEventFilter(m_terminateServerFilter.get());
|
installInputEventFilter(m_terminateServerFilter.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
m_dragAndDropFilter = std::make_unique<DragAndDropInputFilter>();
|
|
||||||
installInputEventFilter(m_dragAndDropFilter.get());
|
|
||||||
|
|
||||||
m_lockscreenFilter = std::make_unique<LockScreenFilter>();
|
m_lockscreenFilter = std::make_unique<LockScreenFilter>();
|
||||||
installInputEventFilter(m_lockscreenFilter.get());
|
installInputEventFilter(m_lockscreenFilter.get());
|
||||||
|
|
||||||
m_windowSelector = std::make_unique<WindowSelectorFilter>();
|
|
||||||
installInputEventFilter(m_windowSelector.get());
|
|
||||||
|
|
||||||
if (hasGlobalShortcutSupport) {
|
if (hasGlobalShortcutSupport) {
|
||||||
m_screenEdgeFilter = std::make_unique<ScreenEdgeInputFilter>();
|
m_screenEdgeFilter = std::make_unique<ScreenEdgeInputFilter>();
|
||||||
installInputEventFilter(m_screenEdgeFilter.get());
|
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
|
#if KWIN_BUILD_TABBOX
|
||||||
m_tabboxFilter = std::make_unique<TabBoxInputFilter>();
|
m_tabboxFilter = std::make_unique<TabBoxInputFilter>();
|
||||||
installInputEventFilter(m_tabboxFilter.get());
|
installInputEventFilter(m_tabboxFilter.get());
|
||||||
|
|
Loading…
Reference in a new issue