summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2019-09-24 09:58:58 +0000
committernicm <nicm>2019-09-24 09:58:58 +0000
commit232050830bbbfd9758d22dc84bcd78ce4c6ff3c5 (patch)
treeba976c7c278b2a4d56bf17998f389778e15d2567 /cmd-select-pane.c
parent77deef733bfc547325d7c6db3e0274b1c52281b9 (diff)
Make select-pane -P set window-active-style also to match previous
behaviour, reported by Thomas Sattler.
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c2
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')) {