GTK: Pass parent's computed default/min sizes to the new window (#10805)

Fixes for #10532
This commit is contained in:
Jeffrey C. Ollie
2026-02-20 12:16:43 -06:00
committed by GitHub

View File

@@ -383,6 +383,10 @@ pub const Window = extern struct {
.config = priv.config,
});
if (parent_) |p| {
// For a new window's first tab, inherit the parent's initial size hints.
if (context == .window) {
surfaceInit(p.rt_surface.gobj(), self);
}
tab.setParentWithContext(p, context);
}