Mercurial > vim
changeset 5367:5481f188dcbb v7.4.035
updated for version 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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 22 Sep 2013 15:43:37 +0200 |
parents | e13fe8b20382 |
children | c6d1b4d451d4 |
files | src/gui_w48.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;