kwin/plugins/platforms/virtual
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 [platforms/virtual] Use rendernode or vgem device if available for egl 2016-07-21 09:13:57 +02:00
egl_gbm_backend.cpp [platforms/virtual] Use rendernode or vgem device if available for egl 2016-07-21 09:13:57 +02:00
egl_gbm_backend.h [platforms/virtual] Use rendernode or vgem device if available for egl 2016-07-21 09:13:57 +02:00
scene_qpainter_virtual_backend.cpp Paint the software cursor directly in SceneQPainter 2016-06-29 08:50:46 +02:00
scene_qpainter_virtual_backend.h Paint the software cursor directly in SceneQPainter 2016-06-29 08:50:46 +02:00
screens_virtual.cpp Set initial count of screens before calling Screens::init 2016-08-05 09:59:22 +02:00
screens_virtual.h
virtual.json
virtual_backend.cpp [platforms] Call setSoftWareCursor in init instead of ctor 2016-06-29 08:48:24 +02:00
virtual_backend.h