summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
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')) {