aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index fd6910d..6e6f15c 100644
--- a/vis.c
+++ b/vis.c
@@ -763,7 +763,10 @@ static void suspend(const Arg *arg) {
}
static void repeat(const Arg *arg) {
+ int count = vis->action.count;
vis->action = vis->action_prev;
+ if (count)
+ vis->action.count = count;
action_do(&vis->action);
}