mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 10:37:39 +00:00
csd: Improve appearance inside glade
glade turns windows into non-toplevels, so we can easily recognize that situation and avoid adding a humongous shadow area.
This commit is contained in:
parent
1a3bdefb00
commit
120abd9a6e
@ -6385,6 +6385,9 @@ get_shadow_width (GtkWidget *widget,
|
||||
priv->tiled)
|
||||
return;
|
||||
|
||||
if (!gtk_widget_is_toplevel (widget))
|
||||
return;
|
||||
|
||||
state = gtk_widget_get_state_flags (widget);
|
||||
context = gtk_widget_get_style_context (widget);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user