Skip to content

x11: close display in an idle function

Closing a GdkDisplay during an event handler is not currently supported by Gdk and it will result in a crash when doing e.g. 'mutter --replace'. Using an idle function will close it safely in a subsequent main loop iteration.

Fixes: gnome-shell#595 (closed)

Merge request reports