diff options
author | nicm <nicm> | 2015-08-29 08:30:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-29 08:30:54 +0000 |
commit | b5aaefc727f303276a681d74f091f52a7e859d36 (patch) | |
tree | 0ebc5bf2a6b6897d11759d6ee8afe7d0a3444de0 /cmd-set-option.c | |
parent | 5267ce8ff41e8c5e69fa5d05da92b61e739c328a (diff) | |
download | rtmux-b5aaefc727f303276a681d74f091f52a7e859d36.tar.gz rtmux-b5aaefc727f303276a681d74f091f52a7e859d36.tar.bz2 rtmux-b5aaefc727f303276a681d74f091f52a7e859d36.zip |
Move alerts onto events rather than checking every loop.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index 631a4d0e..98ab2513 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -186,6 +186,8 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq) if (strcmp(oe->name, "status") == 0 || strcmp(oe->name, "status-interval") == 0) status_timer_start_all(); + if (strcmp(oe->name, "monitor-silence") == 0) + alerts_reset_all(); /* Update sizes and redraw. May not need it but meh. */ recalculate_sizes(); |