From 06d7681cfffbc3e982fe192db4190f124b2b0848 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sat, 11 May 2024 17:52:28 -0600 Subject: make Selection unopaque --- vis-marks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis-marks.c') diff --git a/vis-marks.c b/vis-marks.c index 8ae97ac..aea654d 100644 --- a/vis-marks.c +++ b/vis-marks.c @@ -161,7 +161,7 @@ static bool marklist_prev(Win *win, MarkList *list) { View *view = win->view; bool restore = false; Array cur = view_selections_get_all(view); - bool anchored = view_selections_anchored(view_selections_primary_get(view)); + bool anchored = view_selections_primary_get(view)->anchored; Array *top = array_peek(&list->prev); if (!top) goto out; @@ -192,7 +192,7 @@ out: static bool marklist_next(Win *win, MarkList *list) { View *view = win->view; - bool anchored = view_selections_anchored(view_selections_primary_get(view)); + bool anchored = view_selections_primary_get(view)->anchored; for (;;) { Array *next = array_pop(&list->next); if (!next) -- cgit v1.2.3