diff options
| author | 2015-08-28 13:12:20 +0000 | |
|---|---|---|
| committer | 2015-08-28 13:12:20 +0000 | |
| commit | 42b95bd7982b0c7a4043a4be751ba46f0267969d (patch) | |
| tree | 52c26347e9827676fe9dc89bc3a3bd30ec532e72 /usr.bin/tmux/cmd-set-option.c | |
| parent | Make session_update_activity more useful and use it in more places. (diff) | |
| download | wireguard-openbsd-42b95bd7982b0c7a4043a4be751ba46f0267969d.tar.xz wireguard-openbsd-42b95bd7982b0c7a4043a4be751ba46f0267969d.zip | |
Per-session timers for locking, and remove the global one-second timer.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
| -rw-r--r-- | usr.bin/tmux/cmd-set-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c index 70d3c49bc90..aab181187b6 100644 --- a/usr.bin/tmux/cmd-set-option.c +++ b/usr.bin/tmux/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.77 2015/08/28 12:16:28 nicm Exp $ */ +/* $OpenBSD: cmd-set-option.c,v 1.78 2015/08/28 13:12:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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")) |
