diff options
author | nicm <nicm> | 2019-09-24 09:58:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-09-24 12:20:25 +0100 |
commit | 6f8f4bb2063ccc72ed665a13215accc72a75d55f (patch) | |
tree | c81d0031632c3e4b4dd3ae4e2dd6687ba1aecf21 | |
parent | c739772436aef2aeb6f008def73584d348d012e7 (diff) | |
download | rtmux-6f8f4bb2063ccc72ed665a13215accc72a75d55f.tar.gz rtmux-6f8f4bb2063ccc72ed665a13215accc72a75d55f.tar.bz2 rtmux-6f8f4bb2063ccc72ed665a13215accc72a75d55f.zip |
Make select-pane -P set window-active-style also to match previous
behaviour, reported by Thomas Sattler.
-rw-r--r-- | cmd-select-pane.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c index 52c58dbc..b46f7cd9 100644 --- a/cmd-select-pane.c +++ b/cmd-select-pane.c @@ -151,6 +151,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item) cmdq_error(item, "bad style: %s", style); return (CMD_RETURN_ERROR); } + options_set_style(wp->options, "window-active-style", 0, + style); wp->flags |= (PANE_REDRAW|PANE_STYLECHANGED); } if (args_has(self->args, 'g')) { |