graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY If an Effect has replaced the TabBox and wants to react on mouse events the EffectsHandlerImpl also has an X11Filter, so we only need to make sure the events go to that filter. Motion: TabBox did not filter out, so events will go to the Effects filter. Press/Release: TabBox should not operate if Effects take the events. The events are filtered out by Effects if there is a grab, so just check for that and go out. Effects will take care. TEST PLAN Compiles REPOSITORY R108 KWin BRANCH tabbox-no-effects-in-filter REVISION DETAIL https://phabricator.kde.org/D7846 AFFECTED FILES effects.cpp effects.h tabbox/x11_filter.cpp tabbox/x11_filter.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart