diff -r 5d4419042d9b -r e411ed7c5f10 ui/motif/text.c --- a/ui/motif/text.c Sun Dec 07 14:39:03 2025 +0100 +++ b/ui/motif/text.c Sun Dec 07 15:23:03 2025 +0100 @@ -408,7 +408,7 @@ XtManageChild(textfield); ui_container_add(ctn, textfield); - ui_set_widget_groups(obj->ctx, textfield, args->groups); + ui_set_widget_groups(obj->ctx, textfield, args->states); UiEventDataExt *eventdata = malloc(sizeof(UiEventDataExt)); memset(eventdata, 0, sizeof(UiEventDataExt));