mirror of
https://github.com/tmux/tmux.git
synced 2026-07-23 01:02:37 +00:00
Set initial scrollbar state, from Michael Grant.
This commit is contained in:
2
window.c
2
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);
|
||||
|
||||
Reference in New Issue
Block a user