aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index cdc3057..581adcd 100644
--- a/vis.c
+++ b/vis.c
@@ -1043,6 +1043,8 @@ bool vis_macro_record(Vis *vis, enum VisRegister id) {
if (!(VIS_REG_A <= id && id <= VIS_REG_Z))
macro_reset(macro);
vis->recording = macro;
+ if (vis->event && vis->event->win_status)
+ vis->event->win_status(vis, vis->win);
return true;
}
@@ -1057,6 +1059,8 @@ bool vis_macro_record_stop(Vis *vis) {
}
vis->last_recording = vis->recording;
vis->recording = NULL;
+ if (vis->event && vis->event->win_status)
+ vis->event->win_status(vis, vis->win);
return true;
}