Index: gnome-session/logout.c =================================================================== --- gnome-session/logout.c.orig +++ gnome-session/logout.c @@ -28,6 +28,9 @@ #include #include +#include +#include + #include #include @@ -160,6 +163,10 @@ fadeout_screen (GdkScreen *screen, int attr_mask; GdkGCValues values; FadeoutData *fadeout; + GdkAtom property = gdk_atom_intern ("_NET_WM_STATE_DISPLAY_MODAL", FALSE); + + if (gdk_x11_screen_supports_net_wm_hint (screen, property)) + return; fadeout = g_new (FadeoutData, 1); @@ -517,7 +524,7 @@ display_gui (void) if (iris_effect_enabled) { hide_fadeout_windows (); - XUngrabServer (GDK_DISPLAY ()); + /* XUngrabServer (GDK_DISPLAY ()); */ gdk_pointer_ungrab (GDK_CURRENT_TIME); gdk_keyboard_ungrab (GDK_CURRENT_TIME);