mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
gtkwindow: Don't set the background if the window is app-paintable
This fixes transparent DND windows.
This commit is contained in:
parent
6ae521bb32
commit
a34a0224e4
@ -7006,7 +7006,7 @@ gtk_window_realize (GtkWidget *widget)
|
||||
/* We don't need to set a background on the GdkWindow; with decorations
|
||||
* we draw the background ourself
|
||||
*/
|
||||
if (!priv->client_decorated)
|
||||
if (!priv->client_decorated && !gtk_widget_get_app_paintable (widget))
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (widget), gdk_window);
|
||||
|
||||
attributes.x = allocation.x;
|
||||
|
Loading…
Reference in New Issue
Block a user