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:
Matthias Clasen 2014-03-21 15:39:46 -04:00
parent 9adfc8e2c4
commit 9ed2c8a719

View File

@ -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 ||