mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 01:55:49 +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->ypixel = ypixel;
|
||||||
|
|
||||||
w->options = options_create(global_w_options);
|
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;
|
w->references = 0;
|
||||||
TAILQ_INIT(&w->winlinks);
|
TAILQ_INIT(&w->winlinks);
|
||||||
|
|||||||
Reference in New Issue
Block a user