gdkdisplay-x11: The leader window should be an input-only window
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 5 Jul 2015 22:45:49 +0000 (15:45 -0700)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 6 Jul 2015 00:00:52 +0000 (17:00 -0700)
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

index d4be951bb036d62edfe966b0cf040c4cfa12d3dd..dd608fa8de27ad8bde1b2e5751730cac275577a7 100644 (file)
@@ -1433,7 +1433,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;