0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.4967: MS-Windows GUI: mouse event test sometimes fails

Problem:    MS-Windows GUI: mouse event test sometimes fails.
Solution:   Ignore one move event only if there is an extra event.
This commit is contained in:
Bram Moolenaar 2022-05-16 17:07:41 +01:00
parent e5162e76c0
commit 3c25a8617a
2 changed files with 4 additions and 2 deletions

View File

@ -1252,8 +1252,8 @@ func Test_gui_mouse_move_event()
call test_gui_event('mouse', args)
call feedkeys('', 'Lx!')
if has('win32')
" FIXME: on MS-Windows we get a stray event first
if has('win32') && len(g:eventlist) == 3
let g:eventlist = g:eventlist[1 : ]
endif

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4967,
/**/
4966,
/**/