Karsten Hopp 147041
To: vim_dev@googlegroups.com
Karsten Hopp 147041
Subject: Patch 7.4.035
Karsten Hopp 147041
Fcc: outbox
Karsten Hopp 147041
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 147041
Mime-Version: 1.0
Karsten Hopp 147041
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 147041
Content-Transfer-Encoding: 8bit
Karsten Hopp 147041
------------
Karsten Hopp 147041
Karsten Hopp 147041
Patch 7.4.035
Karsten Hopp 147041
Problem:    MS-Windows: The mouse pointer flickers when going from command
Karsten Hopp 147041
	    line mode to Normal mode.
Karsten Hopp 147041
Solution:   Check for WM_NCMOUSEMOVE. (Ken Takata)
Karsten Hopp 147041
Files:	    src/gui_w48.c
Karsten Hopp 147041
Karsten Hopp 147041
Karsten Hopp 147041
*** ../vim-7.4.034/src/gui_w48.c	2013-08-10 13:36:45.000000000 +0200
Karsten Hopp 147041
--- src/gui_w48.c	2013-09-22 15:41:56.000000000 +0200
Karsten Hopp 147041
***************
Karsten Hopp 147041
*** 1008,1014 ****
Karsten Hopp 147041
      static LPARAM last_lParam = 0L;
Karsten Hopp 147041
  
Karsten Hopp 147041
      /* We sometimes get a mousemove when the mouse didn't move... */
Karsten Hopp 147041
!     if (uMsg == WM_MOUSEMOVE)
Karsten Hopp 147041
      {
Karsten Hopp 147041
  	if (lParam == last_lParam)
Karsten Hopp 147041
  	    return;
Karsten Hopp 147041
--- 1008,1014 ----
Karsten Hopp 147041
      static LPARAM last_lParam = 0L;
Karsten Hopp 147041
  
Karsten Hopp 147041
      /* We sometimes get a mousemove when the mouse didn't move... */
Karsten Hopp 147041
!     if (uMsg == WM_MOUSEMOVE || uMsg == WM_NCMOUSEMOVE)
Karsten Hopp 147041
      {
Karsten Hopp 147041
  	if (lParam == last_lParam)
Karsten Hopp 147041
  	    return;
Karsten Hopp 147041
*** ../vim-7.4.034/src/version.c	2013-09-22 15:23:38.000000000 +0200
Karsten Hopp 147041
--- src/version.c	2013-09-22 15:41:29.000000000 +0200
Karsten Hopp 147041
***************
Karsten Hopp 147041
*** 740,741 ****
Karsten Hopp 147041
--- 740,743 ----
Karsten Hopp 147041
  {   /* Add new patch number below this line */
Karsten Hopp 147041
+ /**/
Karsten Hopp 147041
+     35,
Karsten Hopp 147041
  /**/
Karsten Hopp 147041
Karsten Hopp 147041
-- 
Karsten Hopp 147041
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 147041
251. You've never seen your closest friends who usually live WAY too far away.
Karsten Hopp 147041
Karsten Hopp 147041
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 147041
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 147041
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 147041
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///