mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
window: Don't let solid-csd linger
Just from reading the code, it seems that we should unset .csd and .solid-csd at the same time, since the are mutually exclusive and we unset them here so realize() can set one of them again.
This commit is contained in:
parent
1c1c030b8e
commit
aa569acaa1
@ -3038,8 +3038,10 @@ gtk_window_set_titlebar (GtkWindow *window,
|
||||
|
||||
if (titlebar == NULL)
|
||||
{
|
||||
/* these are updated in realize() */
|
||||
priv->client_decorated = FALSE;
|
||||
gtk_widget_remove_css_class (widget, "csd");
|
||||
gtk_widget_remove_css_class (widget, "solid-csd");
|
||||
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user