kwin/plugins/platforms
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
..
drm Make AbstractEglBackend a QObject 2017-09-07 19:25:28 +02:00
fbdev Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
hwcomposer [platforms/hwcomposer] Include the android-config.h in the hwcomposer_backend 2017-09-07 16:35:45 +05:30
virtual Make AbstractEglBackend a QObject 2017-09-07 19:25:28 +02:00
wayland Make AbstractEglBackend a QObject 2017-09-07 19:25:28 +02:00
x11 Move XRandR event filter into XRandRScreens 2017-09-12 18:53:08 +02:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00