diff options
author | Bram Moolenaar <bram@vim.org> | 2013-09-22 15:43:37 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-09-22 15:43:37 +0200 |
commit | ae9c915e2187bc7e80d7482a2acac072c923dd0a (patch) | |
tree | c7cf1d49dbd8ed755f65dde817a8b60abbb425db | |
parent | 0bcd20e318db9b6bb8f97bf103e19e3aeb5c63f0 (diff) | |
download | vim-ae9c915e2187bc7e80d7482a2acac072c923dd0a.tar.gz |
Problem: MS-Windows: The mouse pointer flickers when going from command
line mode to Normal mode.
Solution: Check for WM_NCMOUSEMOVE. (Ken Takata)
-rw-r--r-- | src/gui_w48.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index 345d4da9..d8ffc152 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1008,7 +1008,7 @@ HandleMouseHide(UINT uMsg, LPARAM lParam) static LPARAM last_lParam = 0L; /* We sometimes get a mousemove when the mouse didn't move... */ - if (uMsg == WM_MOUSEMOVE) + if (uMsg == WM_MOUSEMOVE || uMsg == WM_NCMOUSEMOVE) { if (lParam == last_lParam) return; diff --git a/src/version.c b/src/version.c index ab6c3c17..9c99f7b0 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 35, +/**/ 34, /**/ 33, |