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:
@ -1433,7 +1433,7 @@ _gdk_x11_display_open (const gchar *display_name)
|
|||||||
gdk_event_init (display);
|
gdk_event_init (display);
|
||||||
|
|
||||||
attr.window_type = GDK_WINDOW_TOPLEVEL;
|
attr.window_type = GDK_WINDOW_TOPLEVEL;
|
||||||
attr.wclass = GDK_INPUT_OUTPUT;
|
attr.wclass = GDK_INPUT_ONLY;
|
||||||
attr.x = 10;
|
attr.x = 10;
|
||||||
attr.y = 10;
|
attr.y = 10;
|
||||||
attr.width = 10;
|
attr.width = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user