Patch 8.2.4966
Problem:    MS-Windows GUI: mouse event test gets extra event.
Solution:   Ignore one move event.
Files:      src/testdir/test_gui.vim


*** ../vim-8.2.4965/src/testdir/test_gui.vim    2022-05-16 15:27:41.577581374 
+0100
--- src/testdir/test_gui.vim    2022-05-16 16:40:27.857169887 +0100
***************
*** 1252,1257 ****
--- 1252,1262 ----
    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
+ 
    call assert_equal([#{row: 4, col: 31}, #{row: 11, col: 31}], g:eventlist)
  
    " wiggle the mouse around within a screen cell, shouldn't trigger events
*** ../vim-8.2.4965/src/version.c       2022-05-16 15:27:41.581581370 +0100
--- src/version.c       2022-05-16 16:41:15.293126277 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4966,
  /**/

-- 
msdn.microsoft.com:
ERROR_SUCCESS 0 (0x0) The operation completed successfully.
I have always suspected that for Microsoft success is an error.

 /// 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/20220516155653.C0D4C1C089D%40moolenaar.net.

Raspunde prin e-mail lui