diff options
author | nicm <nicm> | 2019-09-24 09:58:58 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-09-24 09:58:58 +0000 |
commit | 232050830bbbfd9758d22dc84bcd78ce4c6ff3c5 (patch) | |
tree | ba976c7c278b2a4d56bf17998f389778e15d2567 | |
parent | 77deef733bfc547325d7c6db3e0274b1c52281b9 (diff) | |
download | rtmux-232050830bbbfd9758d22dc84bcd78ce4c6ff3c5.tar.gz rtmux-232050830bbbfd9758d22dc84bcd78ce4c6ff3c5.tar.bz2 rtmux-232050830bbbfd9758d22dc84bcd78ce4c6ff3c5.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 15f76afe..6542c919 100644 --- a/cmd-select-pane.c +++ b/cmd-select-pane.c @@ -154,6 +154,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')) { |