forked from AuroraMiddleware/gtk
widget: Make invisible widgets not propagate resizes
Do not queue a resize on the parent if the widget is not visible. Invisible widgets do not influence the parents size.
This commit is contained in:
parent
bef44ab294
commit
e07ff714b9
@ -5635,7 +5635,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||
gtk_container_queue_resize_handler (GTK_CONTAINER (widget));
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS;
|
||||
}
|
||||
else
|
||||
else if (_gtk_widget_get_visible (widget))
|
||||
{
|
||||
GtkWidget *parent = _gtk_widget_get_parent (widget);
|
||||
if (parent)
|
||||
|
Loading…
Reference in New Issue
Block a user