kwin/plugins/platforms/x11
Martin Flöser 4fa41165d1 Move XRandR event filter into XRandRScreens
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

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7654
2017-09-12 18:53:08 +02:00
..
common Move the X11 specific OverlayWindow into the platform/x11 2017-08-12 11:32:29 +02:00
standalone Move XRandR event filter into XRandRScreens 2017-09-12 18:53:08 +02:00
windowed Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
CMakeLists.txt Move the EglOnXBackend to the x11 platforms 2016-04-15 09:15:20 +02:00