[1/2] richedit: Prevented cursor flicker while moving over selection bar [try 2]

Dylan Smith dylan.ah.smith at gmail.com
Wed Jul 9 08:36:00 CDT 2008


When the cursor is moved over the selection bar, without holding any
mouse buttons down, the cursor would be repeatably set between the
normal cursor, set by DefWindowProc for the WM_SETCURSOR message, and
the reversed cursor, set by ME_MouseMove.

This can be tested in Wine's wordpad by moving the cursor over the
selection bar (space at the left of the richedit control) so that the
cursor changes, and then moving the cursor up and down the selection
bar.

This patch fixes this cursor flicker.
---
 dlls/riched20/editor.c |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Prevented-cursor-flicker-while-moving-o.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080709/ead5cb50/attachment.txt 


More information about the wine-patches mailing list