summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2023-01-17 06:50:55 +0000
committernicm <nicm>2023-01-17 06:50:55 +0000
commitd578cf8d3fa1e42ab14b9ec9499f31c6b9c6f384 (patch)
tree359af7ccd851614f07607eed9eabbe636a667a4b /cmd-break-pane.c
parenteb1f8d70a7d1fe4b0fe604d5a36fcbc2babef249 (diff)
Update palette when moving a pane, GitHub issue 3437.
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 4f38d4bd..9c4b1508 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -115,6 +115,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmdq_item *item)
layout_init(w, wp);
wp->flags |= PANE_CHANGED;
+ colour_palette_from_option(&wp->palette, wp->options);
if (idx == -1)
idx = -1 - options_get_number(dst_s->options, "base-index");