1
0
forked from aniani/vim

patch 9.0.0822: crash when dragging the statusline with a mapping

Problem:    Crash when dragging the statusline with a mapping.
Solution:   Check for valid window pointer. (issue #11427)
This commit is contained in:
Bram Moolenaar
2022-10-31 13:06:26 +00:00
parent 86e6717ace
commit 8ab9ca93ee
5 changed files with 44 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
/* mouse.c */
void mouse_set_vert_scroll_step(long step);
void mouse_set_hor_scroll_step(long step);
void reset_mouse_got_click(void);
int do_mouse(oparg_T *oap, int c, int dir, long count, int fixindent);
void ins_mouse(int c);
void ins_mousescroll(int dir);