--- a/ui/server/toolkit.c Sat Dec 13 13:19:29 2025 +0100 +++ b/ui/server/toolkit.c Sun Dec 14 18:54:57 2025 +0100 @@ -125,7 +125,7 @@ UiSrvObj *obj = cxZalloc(a, sizeof(UiSrvObj)); char id[32]; - snprintf(id, 32, "%" PRIu64, srv_obj_id_counter++); + snprintf(id, 32, "%" PRIx64, srv_obj_id_counter++); obj->id = cx_strdup_a(a, id); obj->ctx = ctx; @@ -138,9 +138,8 @@ UiSrvObj *obj = widget->obj; char id[32]; - snprintf(id, 32, "%" PRIu64, obj->widget_id_counter++); + snprintf(id, 32, "%" PRIx64, obj->widget_id_counter++); widget->id = cx_strdup_a(widget->obj->ctx->allocator, cx_str(id)); cxMapPut(obj->widgets, id, widget); } -