forked from AuroraMiddleware/gtk
overlay: Fix child window position/size on realize
We don't get an automatic queue resize on realize anymore, which was papering over this bug where we did not set the child window size/position at realize time.
This commit is contained in:
parent
796ae50064
commit
1c05915f51
@ -423,7 +423,10 @@ gtk_overlay_realize (GtkWidget *widget)
|
||||
child = children->data;
|
||||
|
||||
if (child->window == NULL)
|
||||
child->window = gtk_overlay_create_child_window (overlay, child->widget);
|
||||
{
|
||||
child->window = gtk_overlay_create_child_window (overlay, child->widget);
|
||||
gtk_overlay_child_allocate (overlay, child);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user