graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY Creating the X11Filter directly on startup caused a regression as the filter got too early in the chain and stole events from the XInputIntegrationFilter. We don't need the filter all the time, but only when we have established the TabBox grab. Likewise we can destroy the filter again when releasing the TabBox grab. So it's much more encapsulated now. BUG: 385032 TEST PLAN Only compile tested, I'm on Wayland REPOSITORY R108 KWin BRANCH tabbox-x11-filter-grab-5.11 REVISION DETAIL https://phabricator.kde.org/D7997 AFFECTED FILES tabbox/tabbox.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart