diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-11 16:01:16 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-11 16:01:16 +0000 |
commit | 0d19d78fff40fbf57c557698f29049dcd1b1ca7b (patch) | |
tree | fede0cc47a5bc61e0dcf6d75410d918581bb40b7 /cmd-set-option.c | |
parent | 8f79b079cd5be1e63fb4e05c389c4334c5e7882a (diff) | |
parent | 458b6eb6001fe4f1bff379ac56b91273662abe8c (diff) | |
download | rtmux-0d19d78fff40fbf57c557698f29049dcd1b1ca7b.tar.gz rtmux-0d19d78fff40fbf57c557698f29049dcd1b1ca7b.tar.bz2 rtmux-0d19d78fff40fbf57c557698f29049dcd1b1ca7b.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index 7aa09eee..d1b7f331 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -117,7 +117,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item) if (*optstr == '@') return (cmd_set_option_user(self, item, optstr, valstr)); - /* Find the option entry, try each table. */ + /* Find the option entry. */ oe = NULL; if (options_table_find(optstr, &oe) != 0) { if (!args_has(args, 'q')) { @@ -184,7 +184,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item) return (CMD_RETURN_ERROR); } - /* Start or stop timers if necessary. */ + /* Update timers and so on for various options. */ if (strcmp(oe->name, "automatic-rename") == 0) { RB_FOREACH(w, windows, &windows) { if (w->active == NULL) @@ -207,8 +207,6 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item) RB_FOREACH(w, windows, &windows) w->flags |= WINDOW_STYLECHANGED; } - - /* When the pane-border-status option has been changed, resize panes. */ if (strcmp(oe->name, "pane-border-status") == 0) { RB_FOREACH(w, windows, &windows) layout_fix_panes(w, w->sx, w->sy); |