kwin/plugins/platforms
Martin Flöser 2e868c50df Create a dedicated X11Filter for Client sync events and move it to X11 platform
Summary:
On Wayland we have the sync disabled as it doesn't work properly. This
allows us to also move the sync event handling into the X11 standalone
platform.

The code is slightly refactored: instead of passing the event to each
Client, we search for the matching Client. For that the SyncAlaram struct
is added to public section of Client. The method to handle the sync
doesn't need the event any more and is moved from events.cpp to
client.cpp.

Test Plan:
Run Xephyr+kwin_x11, resized a window and verified through
gdb breakpoint that the sync still works

Reviewers: #kwin, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7942
2017-10-19 19:56:58 +02:00
..
drm Add physicalSize to the Screens API 2017-10-19 18:02:32 +02:00
fbdev Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
hwcomposer Add physicalSize to the Screens API 2017-10-19 18:02:32 +02:00
virtual Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
wayland Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
x11 Create a dedicated X11Filter for Client sync events and move it to X11 platform 2017-10-19 19:56:58 +02:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00