From 232050830bbbfd9758d22dc84bcd78ce4c6ff3c5 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 24 Sep 2019 09:58:58 +0000 Subject: [PATCH] Make select-pane -P set window-active-style also to match previous behaviour, reported by Thomas Sattler. --- cmd-select-pane.c | 2 ++ 1 file changed, 2 insertions(+) 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')) {