aboutsummaryrefslogtreecommitdiff
path: root/vis-marks.c
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-11 17:52:28 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-21 20:21:46 -0600
commit06d7681cfffbc3e982fe192db4190f124b2b0848 (patch)
treeaf1d349cdca3890ce0b616789f719121b254a98b /vis-marks.c
parent4c2b2d8a100a67212134c1bb89fad39311fa441e (diff)
downloadvis-06d7681cfffbc3e982fe192db4190f124b2b0848.tar.gz
vis-06d7681cfffbc3e982fe192db4190f124b2b0848.tar.xz
make Selection unopaque
Diffstat (limited to 'vis-marks.c')
-rw-r--r--vis-marks.c4
1 files changed, 2 insertions, 2 deletions
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)