mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Fix undecorated windows
Setting windows undecorated was broken by some of the recent shadow width changes. We need to ensure that shadow width is zero for undecorated windows, then things work again.
This commit is contained in:
parent
9adfc8e2c4
commit
9ed2c8a719
@ -6562,7 +6562,8 @@ get_shadow_width (GtkWidget *widget,
|
||||
|
||||
*shadow_width = border;
|
||||
|
||||
if (!priv->client_decorated)
|
||||
if (!priv->decorated ||
|
||||
!priv->client_decorated)
|
||||
return;
|
||||
|
||||
if (priv->maximized ||
|
||||
|
Loading…
Reference in New Issue
Block a user