Hi,
I found that the mouse cursor sometimes flickers when it is placed on
a non-client area.
E.g.
1. Move the mouse cursor on the titlebar or the menubar.
2. Type ':' to go to Command line mode.
The mouse cursor disappears.
3. Type <Esc> to go to Normal mode.
The mouse cursor appears a moment, then disappears again.
It should remain hidden.
Attached patch fixes this problem.
Regards,
Ken Takata
--
--
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].
For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch
# Parent 60871bd6c71fa4bfc420af2d5c7aa6662bfc4e73
diff --git a/src/gui_w48.c b/src/gui_w48.c
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -1008,7 +1008,7 @@
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;