graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY The interactive window selection is implemented in InputRedirection through a dedicated InputEventFilter. The InputEventFilter so far takes care of pointer input and keyboard input. In addition it ensures that keyboard and pointer focus is reset on start and on end. With this change KillWindow now also works on Wayland, but only for X11 windows, as the Wayland variant is not yet implemented. TEST PLAN Tested in nested setup, auto-tests still needed REPOSITORY rKWIN KWin BRANCH interactive-window-selection-wayland REVISION DETAIL https://phabricator.kde.org/D3365 AFFECTED FILES input.cpp input.h keyboard_input.cpp platform.cpp platform.h pointer_input.cpp pointer_input.h wayland_cursor_theme.cpp wayland_cursor_theme.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas