graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY Workspace monitors the X11 events to detect when the user first interacts with the system. This is only required on X11 for activating the same client from previous session. So far this was spread over many parts in the long event switch statement. To make this more contained a dedicated event filter is introduced which also gets deleted again once the first user interaction got recognized. TEST PLAN Compiles REPOSITORY R108 KWin BRANCH was-user-interaction-filter REVISION DETAIL https://phabricator.kde.org/D7371 AFFECTED FILES CMakeLists.txt events.cpp was_user_interaction_x11_filter.cpp was_user_interaction_x11_filter.h workspace.cpp workspace.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas