From 8f3963635b5e141c641c396dad6fdebea762db70 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 7 Jul 2026 07:47:03 +0000 Subject: [PATCH] Set initial scrollbar state, from Michael Grant. --- window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/window.c b/window.c index 00ed1a079..87d6df4db 100644 --- a/window.c +++ b/window.c @@ -321,6 +321,8 @@ window_create(u_int sx, u_int sy, u_int xpixel, u_int ypixel) w->ypixel = ypixel; w->options = options_create(global_w_options); + w->sb = options_get_number(w->options, "pane-scrollbars"); + w->sb_pos = options_get_number(w->options, "pane-scrollbars-position"); w->references = 0; TAILQ_INIT(&w->winlinks);