diff -r fd7dc0716ab6 -r 412790168d30 ui/motif/text.c --- a/ui/motif/text.c Mon Jun 15 21:13:05 2026 +0200 +++ b/ui/motif/text.c Mon Jun 15 21:16:47 2026 +0200 @@ -218,9 +218,9 @@ int sel = left < right ? 1 : 0; if(sel != textarea->last_selection_state) { if(sel) { - ui_set_state(textarea->obj->ctx, UI_GROUP_SELECTION); + ui_set_state(textarea->obj->ctx, UI_STATE_SELECTION); } else { - ui_unset_state(textarea->obj->ctx, UI_GROUP_SELECTION); + ui_unset_state(textarea->obj->ctx, UI_STATE_SELECTION); } } textarea->last_selection_state = sel;