inherit window data from parent for itemlist sub-objects (GTK) default tip

Fri, 04 Sep 2026 20:45:12 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 04 Sep 2026 20:45:12 +0200
changeset 1241
a23d6609e70e
parent 1240
3e2516e7a957

inherit window data from parent for itemlist sub-objects (GTK)

ui/gtk/container.c file | annotate | diff | comparison | revisions
--- 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