summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-20 20:01:27 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-20 20:01:27 +0100
commit944fde7c57c4f3caebb04cfc3943a81ee9729de8 (patch)
treeadaf9710dee065de66e40cd12359a403bd3f6dea /window.c
parent41822ef782122be42305c0c21e2f166077d09002 (diff)
parent6cbc83c6a64f272575aac1ee32cc0a0b1cb75c7b (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.c b/window.c
index 5fcb547d..5e256874 100644
--- a/window.c
+++ b/window.c
@@ -931,6 +931,8 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit)
wp->pipe_fd = -1;
colour_palette_init(&wp->palette);
+ colour_palette_from_option(&wp->palette, wp->options);
+
screen_init(&wp->base, sx, sy, hlimit);
wp->screen = &wp->base;