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
parent 803430a779
commit abc47d7faa

View 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;