ui/gtk/container.c

changeset 1241
a23d6609e70e
parent 1236
34cc825ee117
--- a/ui/gtk/container.c	Wed Sep 02 16:57:28 2026 +0200
+++ b/ui/gtk/container.c	Fri Sep 04 20:45:12 2026 +0200
@@ -1292,7 +1292,7 @@
             // create new widget and object for this list element
             UiObject *obj = uic_object_new_toplevel();
             obj->ctx->parent = ct->parent->ctx;
-            obj->window = NULL;
+            obj->window = ct->parent->window;
             obj->widget = ui_subcontainer_create(
                     ct->subcontainer,
                     obj,

mercurial