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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
edge.cpp | ||
edge.h | ||
glx_context_attribute_builder.cpp | ||
glx_context_attribute_builder.h | ||
glxbackend.cpp | ||
glxbackend.h | ||
logging.cpp | ||
logging.h | ||
non_composited_outline.cpp | ||
non_composited_outline.h | ||
overlaywindow_x11.cpp | ||
overlaywindow_x11.h | ||
screenedges_filter.cpp | ||
screenedges_filter.h | ||
screens_xrandr.cpp | ||
screens_xrandr.h | ||
windowselector.cpp | ||
windowselector.h | ||
x11.json | ||
x11_decoration_renderer.cpp | ||
x11_decoration_renderer.h | ||
x11_platform.cpp | ||
x11_platform.h | ||
x11cursor.cpp | ||
x11cursor.h | ||
xinputintegration.cpp | ||
xinputintegration.h |