Mon, 15 Jun 2026 21:16:47 +0200
fix motif build
| ui/motif/text.c | file | annotate | diff | comparison | revisions |
--- 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;