Patch 8.2.4967 (after 8.2.4966)
Problem:    MS-Windows GUI: mouse event test sometimes fails.
Solution:   Ignore one move event only if there is an extra event.
Files:      src/testdir/test_gui.vim


*** ../vim-8.2.4966/src/testdir/test_gui.vim    2022-05-16 16:41:31.945110956 
+0100
--- src/testdir/test_gui.vim    2022-05-16 17:06:13.256091918 +0100
***************
*** 1252,1259 ****
    call test_gui_event('mouse', args)
    call feedkeys('', 'Lx!')
  
!   if has('win32')
!     " FIXME: on MS-Windows we get a stray event first
      let g:eventlist = g:eventlist[1 : ]
    endif
  
--- 1252,1259 ----
    call test_gui_event('mouse', args)
    call feedkeys('', 'Lx!')
  
!   " FIXME: on MS-Windows we get a stray event first
!   if has('win32') && len(g:eventlist) == 3
      let g:eventlist = g:eventlist[1 : ]
    endif
  
*** ../vim-8.2.4966/src/version.c       2022-05-16 16:41:31.945110956 +0100
--- src/version.c       2022-05-16 17:07:18.632038085 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4967,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
215. Your mouse-clicking forearm rivals Popeye's.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220516160810.C42E81C088A%40moolenaar.net.

Raspunde prin e-mail lui