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.
This commit is contained in:
Jasper St. Pierre
2015-07-05 15:45:49 -07:00
committed by Matthias Clasen
parent a074d86842
commit 28e7721075

View File

@@ -1428,7 +1428,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;