D7842: Split out the X11 mouse event filtering for EffectsHandlerImpl

Martin Flöser noreply at phabricator.kde.org
Fri Sep 15 16:39:47 UTC 2017


graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.

REVISION SUMMARY
  This change introduces a dedicated X11EventFilter for the mouse
  interception on X11. The filter gets created together with the start
  of mouse interception and destroyed again when the mouse interception
  ends. Thus we don't need to check for each event like it was the case
  so far.
  
  Unfortunately the existing methods cannot be removed (yet) as they are
  still used by TabBox. Needs investigation whether this is actually
  needed.

TEST PLAN
  Xephyr+kwin_x11+Present Windows

REPOSITORY
  R108 KWin

BRANCH
  effects-mouse-x11-filter

REVISION DETAIL
  https://phabricator.kde.org/D7842

AFFECTED FILES
  CMakeLists.txt
  effects.cpp
  effects.h
  effects_mouse_interception_x11_filter.cpp
  effects_mouse_interception_x11_filter.h
  events.cpp

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170915/42ffd507/attachment.html>


More information about the Plasma-devel mailing list