graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY This change splits out the X11 specific event filtering into a dedicated X11EventFilter. It is created in the x11 standalone platform plugin when the first Edge is being created. Some of the X11 specific code is removed from ScreenEdges, though more refactoring is possible in ScreenEdges to share more code between X11 specific and generic implementation. TEST PLAN Run KWin on Xephyr, screen edge approach effect still shows REPOSITORY R108 KWin BRANCH screenedges-filter REVISION DETAIL https://phabricator.kde.org/D7406 AFFECTED FILES autotests/test_screen_edges.cpp events.cpp plugins/platforms/x11/standalone/CMakeLists.txt plugins/platforms/x11/standalone/screenedges_filter.cpp plugins/platforms/x11/standalone/screenedges_filter.h plugins/platforms/x11/standalone/x11_platform.cpp plugins/platforms/x11/standalone/x11_platform.h screenedge.cpp screenedge.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas