mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
x11: Fix shadows
Commit a2cd21cab6
changed a condition and inadvertedly
broke client-side shadows on X11. Change this back.
Fixes: #3896
This commit is contained in:
parent
5d563fcde6
commit
628d5406d7
@ -4005,7 +4005,7 @@ get_shadow_width (GtkWindow *window,
|
||||
if (!priv->decorated)
|
||||
goto out;
|
||||
|
||||
if (!priv->client_decorated ||
|
||||
if (!priv->client_decorated &&
|
||||
!(gtk_window_should_use_csd (window) &&
|
||||
gtk_window_supports_client_shadow (window)))
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user