kwin/clients
Martin Gräßlin 5517d4db2c Delay closing of a window by one event cycle
This is an issue we already had in the past with Aurorae. When
closing a window the graphics scene crashes because the deco
gets destroyed before the code in the graphics scene finished
the execution.

With the port to QML this seemed to be fixed unless as it turns
out it throws an XIO error on closing:
fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

This can be triggered using glxgears. Closing glxgears would
reliable crash Aurorae. To circumvent this issue we have to
delay the close by one event cycle using QMetaObject's
invokeMethod with a Qt::QueuedConnection.

This has also to be done in the useractions menu as the menu
is still open when the window closes causing the same problem
inside Aurorae.

BUG: 303450
FIXED-IN: 4.9.0
Reviewed-By: Thomas Lüking
2012-07-14 11:11:02 +02:00
..
aurorae Delay closing of a window by one event cycle 2012-07-14 11:11:02 +02:00
b2 add deco API versioning support 2012-05-17 23:26:43 +02:00
laptop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
oxygen Added hidden configuration option to enable/disable closing windows by clicking on menu button. 2012-06-07 12:28:25 -07:00
plastik add deco API versioning support 2012-05-17 23:26:43 +02:00
CMakeLists.txt fix tabbing 2012-02-11 16:30:22 +01:00
Messages.sh Remove temporary file 2008-07-02 07:04:51 +00:00