summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 3b929dee..b4c5b7cd 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -77,6 +77,8 @@ cmd_break_pane_exec(struct cmd *self, struct cmdq_item *item)
layout_close_pane(wp);
w = wp->window = window_create(w->sx, w->sy);
+ options_set_parent(wp->options, w->options);
+ wp->flags |= PANE_STYLECHANGED;
TAILQ_INSERT_HEAD(&w->panes, wp, entry);
w->active = wp;