gnome-session logout hang with a composite manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-session
gnome-session logout hang with a composite manager, that is due of justified use of XServerGrab on logout.
The composite manager also using this function for the screen refresh, Grab of gnome-session thus blocks screen refresh and the logout window does not appear while being open.
Here small a patch which inactivate Grab/Ungrab on logout when GSM_NO_GRAB_SERVER is defined in .gnomerc.
--- gnome-session.
+++ gnome-session/
@@ -491,7 +492,8 @@
*/
if (!a11y_enabled)
{
- XGrabServer (GDK_DISPLAY ());
+ if (!g_getenv(
+ XGrabServer (GDK_DISPLAY ());
}
@@ -533,7 +535,8 @@
if (!a11y_enabled)
{
- XUngrabServer (GDK_DISPLAY ());
+ if (!g_getenv(
+ XUngrabServer (GDK_DISPLAY ());
This patch is safe (I've been testing it for months).