forked from AuroraMiddleware/gtk
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)
|
if (!priv->decorated)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (!priv->client_decorated ||
|
if (!priv->client_decorated &&
|
||||||
!(gtk_window_should_use_csd (window) &&
|
!(gtk_window_should_use_csd (window) &&
|
||||||
gtk_window_supports_client_shadow (window)))
|
gtk_window_supports_client_shadow (window)))
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user