Mercurial > vim
diff src/proto/mouse.pro @ 30974:013f8436b0d5 v9.0.0822
patch 9.0.0822: crash when dragging the statusline with a mapping
Commit: https://github.com/vim/vim/commit/8ab9ca93eea32b318235384720200771863ecaee
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 31 13:06:26 2022 +0000
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 https://github.com/vim/vim/issues/11427)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 11:18:52 +0100 |
parents | 26a2836923d6 |
children | eb51299c4bfc |
line wrap: on
line diff
--- a/src/proto/mouse.pro +++ b/src/proto/mouse.pro @@ -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);