diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 279c233f87..f003dc3750 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -977,6 +977,14 @@ _gdk_x11_display_create_window_impl (GdkDisplay *display, { class = InputOnly; + if (window->window_type == GDK_WINDOW_TEMP) + { + xattributes.override_redirect = True; + xattributes_mask |= CWOverrideRedirect; + + impl->override_redirect = TRUE; + } + depth = 0; }