2007-07-12 01:21:03 +02:00
|
|
|
Index: gnome-session/logout.c
|
|
|
|
===================================================================
|
|
|
|
--- gnome-session/logout.c.orig
|
|
|
|
+++ gnome-session/logout.c
|
|
|
|
@@ -28,6 +28,9 @@
|
2006-12-27 12:49:58 +01:00
|
|
|
#include <gtk/gtkinvisible.h>
|
|
|
|
#include <gdk/gdkx.h>
|
|
|
|
|
|
|
|
+#include <X11/Xlib.h>
|
|
|
|
+#include <X11/Xatom.h>
|
|
|
|
+
|
|
|
|
#include <gconf/gconf-client.h>
|
|
|
|
|
2007-07-12 01:21:03 +02:00
|
|
|
#include <libgnomeui/gnome-help.h>
|
|
|
|
@@ -160,6 +163,10 @@ fadeout_screen (GdkScreen *screen,
|
2006-12-27 12:49:58 +01:00
|
|
|
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);
|
|
|
|
|
2007-07-12 01:21:03 +02:00
|
|
|
@@ -517,7 +524,7 @@ display_gui (void)
|
|
|
|
if (iris_effect_enabled)
|
2006-12-27 12:49:58 +01:00
|
|
|
{
|
|
|
|
hide_fadeout_windows ();
|
|
|
|
- XUngrabServer (GDK_DISPLAY ());
|
|
|
|
+ /* XUngrabServer (GDK_DISPLAY ()); */
|
|
|
|
|
|
|
|
gdk_pointer_ungrab (GDK_CURRENT_TIME);
|
|
|
|
gdk_keyboard_ungrab (GDK_CURRENT_TIME);
|