diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 2a85f1f245..2a05c832d6 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -6542,7 +6542,7 @@ get_shadow_width (GtkWidget *widget, *shadow_width = border; if (!priv->decorated || - !gtk_window_should_use_csd (window) || + (!gtk_window_should_use_csd (window) && !priv->client_decorated) || !gtk_window_supports_client_shadow (window)) return;