Per-session timers for locking, and remove the global one-second timer.

This commit is contained in:
nicm
2015-08-28 13:12:20 +00:00
parent 57cc4d45d5
commit f6a0f8730e
4 changed files with 44 additions and 45 deletions

View File

@ -176,7 +176,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq)
return (CMD_RETURN_ERROR);
}
/* Start or stop timers when name or status options changed. */
/* Start or stop timers if necessary. */
if (strcmp(oe->name, "automatic-rename") == 0) {
RB_FOREACH(w, windows, &windows) {
if (options_get_number(&w->options, "automatic-rename"))