[gtk+/gtk-3-14] gdkdisplay-x11: The leader window should be an input-only window



commit fe44d528305d76d2c51161aa3b160516e7359ccb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Jul 5 15:45:49 2015 -0700

    gdkdisplay-x11: The leader window should be an input-only window
    
    This prevents it from creating a _NET_WM_USER_TIME_WINDOW, which can
    confuse mutter / other window managers, and also me, when debugging.

 gdk/x11/gdkdisplay-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index d0f11f8..4fe7524 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -1416,7 +1416,7 @@ _gdk_x11_display_open (const gchar *display_name)
   gdk_event_init (display);
 
   attr.window_type = GDK_WINDOW_TOPLEVEL;
-  attr.wclass = GDK_INPUT_OUTPUT;
+  attr.wclass = GDK_INPUT_ONLY;
   attr.x = 10;
   attr.y = 10;
   attr.width = 10;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]