diff options
author | 2019-09-24 09:58:58 +0000 | |
---|---|---|
committer | 2019-09-24 09:58:58 +0000 | |
commit | 4fafc9b7377c4c136404cd978e2cad75eee210d7 (patch) | |
tree | 2123ba17e61c9e93e6cc2ee6ad3b3edfbd8d1413 /usr.bin/tmux/cmd-select-pane.c | |
parent | Implement DVFS support. (diff) | |
download | wireguard-openbsd-4fafc9b7377c4c136404cd978e2cad75eee210d7.tar.xz wireguard-openbsd-4fafc9b7377c4c136404cd978e2cad75eee210d7.zip |
Make select-pane -P set window-active-style also to match previous
behaviour, reported by Thomas Sattler.
Diffstat (limited to 'usr.bin/tmux/cmd-select-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-select-pane.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-select-pane.c b/usr.bin/tmux/cmd-select-pane.c index c643c934ff7..b8b474b5698 100644 --- a/usr.bin/tmux/cmd-select-pane.c +++ b/usr.bin/tmux/cmd-select-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-select-pane.c,v 1.52 2019/08/14 09:58:31 nicm Exp $ */ +/* $OpenBSD: cmd-select-pane.c,v 1.53 2019/09/24 09:58:58 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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')) { |