kwin/plugins/platforms/drm
Martin Gräßlin 44e37aacdf Set initial count of screens before calling Screens::init
Screens::init sets up a Qt::QueuedConnection connect from countChanged
to changed. This means that when first setting up the connection a
changed signal will be delivered in the next event cycle. This can mess
with other code. E.g. WaylandServer recreating outputs which can make
Xwayland crash or KWin internally crash.

To solve this problem we just need to make sure to set the output count
to the initial value before performing the init.

Reviewed-By: bshah
2016-08-05 09:59:22 +02:00
..
CMakeLists.txt
drm.json
drm_backend.cpp [platforms/drm] Properly handle case that mapping the blank buffer fails 2016-07-13 09:37:38 +02:00
drm_backend.h [platforms/drm] Only show cursor if a pointer device is available 2016-05-25 12:14:00 +02:00
drm_buffer.cpp [platforms/drm] Add better warnings in DrmBuffer if things fail 2016-07-15 08:37:17 +02:00
drm_buffer.h
drm_inputeventfilter.cpp
drm_inputeventfilter.h
drm_output.cpp [platforms/drm] Properly handle case that mapping the blank buffer fails 2016-07-13 09:37:38 +02:00
drm_output.h [platforms/drm] Properly handle case that mapping the blank buffer fails 2016-07-13 09:37:38 +02:00
drm_pointer.h
egl_gbm_backend.cpp Support restarting the OpenGL compositor on Wayland 2016-07-20 14:08:23 +02:00
egl_gbm_backend.h
logging.cpp
logging.h
scene_qpainter_drm_backend.cpp [plugins/drm] Drop dependency on VirtualTerminal 2016-04-22 14:18:56 +02:00
scene_qpainter_drm_backend.h add override to bufferForScreen 2016-05-02 14:50:23 +02:00
screens_drm.cpp Set initial count of screens before calling Screens::init 2016-08-05 09:59:22 +02:00
screens_drm.h