summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.035
blob: 9c4664a6ef6b3d7d9a7c7956aac9e7a874b80139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
To: vim_dev@googlegroups.com
Subject: Patch 7.4.035
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.035
Problem:    MS-Windows: The mouse pointer flickers when going from command
	    line mode to Normal mode.
Solution:   Check for WM_NCMOUSEMOVE. (Ken Takata)
Files:	    src/gui_w48.c


*** ../vim-7.4.034/src/gui_w48.c	2013-08-10 13:36:45.000000000 +0200
--- src/gui_w48.c	2013-09-22 15:41:56.000000000 +0200
***************
*** 1008,1014 ****
      static LPARAM last_lParam = 0L;
  
      /* We sometimes get a mousemove when the mouse didn't move... */
!     if (uMsg == WM_MOUSEMOVE)
      {
  	if (lParam == last_lParam)
  	    return;
--- 1008,1014 ----
      static LPARAM last_lParam = 0L;
  
      /* We sometimes get a mousemove when the mouse didn't move... */
!     if (uMsg == WM_MOUSEMOVE || uMsg == WM_NCMOUSEMOVE)
      {
  	if (lParam == last_lParam)
  	    return;
*** ../vim-7.4.034/src/version.c	2013-09-22 15:23:38.000000000 +0200
--- src/version.c	2013-09-22 15:41:29.000000000 +0200
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     35,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
251. You've never seen your closest friends who usually live WAY too far away.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///