ui/motif/text.c

changeset 967
ff4a8d10307b
parent 966
e411ed7c5f10
--- a/ui/motif/text.c	Sun Dec 07 15:23:03 2025 +0100
+++ b/ui/motif/text.c	Sun Dec 07 15:28:46 2025 +0100
@@ -213,9 +213,9 @@
     int sel = left < right ? 1 : 0;
     if(sel != textarea->last_selection_state) {
         if(sel) {
-            ui_set_group(textarea->obj->ctx, UI_GROUP_SELECTION);
+            ui_set_state(textarea->obj->ctx, UI_GROUP_SELECTION);
         } else {
-            ui_unset_group(textarea->obj->ctx, UI_GROUP_SELECTION);
+            ui_unset_state(textarea->obj->ctx, UI_GROUP_SELECTION);
         }
     }
     textarea->last_selection_state = sel;

mercurial