csd: Fix an oversight for popups

After the recent rework of client-side shadow code, menus,
tooltips and similar popups were ending up with solid decorations.
Fix this oversight.
This commit is contained in:
Matthias Clasen 2015-03-23 10:39:32 -04:00
parent 83b6423409
commit a08ee01c64

View File

@ -5806,7 +5806,8 @@ create_decoration (GtkWidget *widget)
GtkWindow *window = GTK_WINDOW (widget);
GtkWindowPrivate *priv = window->priv;
if (!gtk_window_supports_client_shadow (window))
priv->use_client_shadow = gtk_window_supports_client_shadow (window);
if (!priv->use_client_shadow)
return;
gtk_window_enable_csd (window);