diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-16 17:07:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-16 17:07:41 +0100 |
commit | 3c25a8617aad9860a1b179d40a183c638b3b70cc (patch) | |
tree | 4ecbff9a1a814a29af5f64a990237f0e9488e4e9 /src/testdir/test_gui.vim | |
parent | e5162e76c0a8bd71fbfb0840a8c0014788d8808b (diff) |
patch 8.2.4967: MS-Windows GUI: mouse event test sometimes failsv8.2.4967
Problem: MS-Windows GUI: mouse event test sometimes fails.
Solution: Ignore one move event only if there is an extra event.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 5561d8417f..2c08340ffc 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -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 + " FIXME: on MS-Windows we get a stray event first + if has('win32') && len(g:eventlist) == 3 let g:eventlist = g:eventlist[1 : ] endif |