Mercurial > vim
comparison src/proto/window.pro @ 31162:981f7bc781bb v9.0.0915
patch 9.0.0915: WinScrolled may trigger immediately when defined
Commit: https://github.com/vim/vim/commit/29967732761d1ffb5592db5f5aa7036f5b52abf1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 20 12:11:45 2022 +0000
patch 9.0.0915: WinScrolled may trigger immediately when defined
Problem: WinScrolled may trigger immediately when defined.
Solution: Initialize the fields in all windows. (closes https://github.com/vim/vim/issues/11582)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Nov 2022 13:15:04 +0100 |
parents | 514ab6bdf73d |
children | a86ee6c0309e |
comparison
equal
deleted
inserted
replaced
31161:8444cb417799 | 31162:981f7bc781bb |
---|---|
16 void entering_window(win_T *win); | 16 void entering_window(win_T *win); |
17 void curwin_init(void); | 17 void curwin_init(void); |
18 void close_windows(buf_T *buf, int keep_curwin); | 18 void close_windows(buf_T *buf, int keep_curwin); |
19 int one_window(void); | 19 int one_window(void); |
20 int win_close(win_T *win, int free_buf); | 20 int win_close(win_T *win, int free_buf); |
21 void snapshot_windows_scroll_size(void); | |
21 void may_make_initial_scroll_size_snapshot(void); | 22 void may_make_initial_scroll_size_snapshot(void); |
22 void may_trigger_winscrolled(void); | 23 void may_trigger_winscrolled(void); |
23 void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp); | 24 void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp); |
24 void win_free_all(void); | 25 void win_free_all(void); |
25 win_T *winframe_remove(win_T *win, int *dirp, tabpage_T *tp); | 26 win_T *winframe_remove(win_T *win, int *dirp, tabpage_T *tp); |
26 void close_others(int message, int forceit); | 27 void close_others(int message, int forceit); |
28 void unuse_tabpage(tabpage_T *tp); | |
29 void use_tabpage(tabpage_T *tp); | |
27 int win_alloc_first(void); | 30 int win_alloc_first(void); |
28 win_T *win_alloc_popup_win(void); | 31 win_T *win_alloc_popup_win(void); |
29 void win_init_popup_win(win_T *wp, buf_T *buf); | 32 void win_init_popup_win(win_T *wp, buf_T *buf); |
30 void win_init_size(void); | 33 void win_init_size(void); |
31 void free_tabpage(tabpage_T *tp); | 34 void free_tabpage(tabpage_T *tp); |