diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-08-28 14:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-08-28 14:01:11 +0100 |
commit | 84eabb2658f9ad1bec81344aa425f66a903c931d (patch) | |
tree | 98c743d4888d1414884ec418d1eaf354c9a07213 /cmd-set-option.c | |
parent | 31c027a37a18d11acdc5a1bc96c871dd0139744d (diff) | |
parent | 675def039652e69d8fd5f229eff2128116e1d328 (diff) | |
download | rtmux-84eabb2658f9ad1bec81344aa425f66a903c931d.tar.gz rtmux-84eabb2658f9ad1bec81344aa425f66a903c931d.tar.bz2 rtmux-84eabb2658f9ad1bec81344aa425f66a903c931d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index 761cee93..260961cb 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -176,7 +176,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq) return (CMD_RETURN_ERROR); } - /* Start or stop timers when automatic-rename changed. */ + /* Start or stop timers when name or status options changed. */ if (strcmp(oe->name, "automatic-rename") == 0) { RB_FOREACH(w, windows, &windows) { if (options_get_number(&w->options, "automatic-rename")) @@ -185,6 +185,9 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq) evtimer_del(&w->name_timer); } } + if (strcmp(oe->name, "status") == 0 || + strcmp(oe->name, "status-interval") == 0) + status_timer_start_all(); /* Update sizes and redraw. May not need it but meh. */ recalculate_sizes(); |