Commit 1c05915f authored by Alexander Larsson's avatar Alexander Larsson

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.
parent 796ae500
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment