mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
Reset window transparency and shadow properties
... so that if a window is unrealized and realized again that you end up in a stable form.
This commit is contained in:
parent
3e9f2aa4bb
commit
f947aafc2e
@ -2602,6 +2602,9 @@ gtk_window_transient_parent_unrealized (GtkWidget *parent,
|
||||
GtkWindowPrivate *priv = gtk_window_get_instance_private (GTK_WINDOW (window));
|
||||
if (_gtk_widget_get_realized (window))
|
||||
gdk_toplevel_set_transient_for (GDK_TOPLEVEL (priv->surface), NULL);
|
||||
|
||||
priv->use_transparency = FALSE;
|
||||
priv->use_client_shadow = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user