graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY So far the X11EventFilter only supported one event type. But most usecases for an X11EventFilter require to support multiple event types. E.g. a filter listens for both key press and key release. This change extends the internal X11EventFilter to support multiple types and Workspace::workspaceEvent makes use of that. REPOSITORY rKWIN KWin BRANCH x11-event-filter-multiple-types REVISION DETAIL https://phabricator.kde.org/D3361 AFFECTED FILES autotests/test_xrandr_screens.cpp events.cpp x11eventfilter.cpp x11eventfilter.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas