D7654: Move XRandR event filter into XRandRScreens

Martin Flöser noreply at phabricator.kde.org
Sat Sep 2 09:50:39 UTC 2017


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

REVISION SUMMARY
  The code in events.cpp was problematic as it was called in a Wayland
  session. So KWin changed outputs, this gets mirrored to XWayland and
  then KWin reacted on the XRandR event and might have even changed the
  refresh rate due to that - bad idea.
  
  This change moves the code into the already existing X11EventFilter for
  XRandR events in XRandRScreens.

TEST PLAN
  Run kwin_x11 in gdb on Xephyr, breakpoint in new code and triggered XRandR event

REPOSITORY
  R108 KWin

BRANCH
  xrandr-event-filter

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

AFFECTED FILES
  autotests/mock_workspace.h
  events.cpp
  options.cpp
  options.h
  plugins/platforms/x11/standalone/screens_xrandr.cpp

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


More information about the Plasma-devel mailing list