[2/6] richedit: Fixed double click issues by sharing code with single click

Dylan Smith dylan.ah.smith at gmail.com
Sat Jul 5 03:23:53 CDT 2008

There were some problems with double clicking including:
* Double clicking on the selection bar selected a word instead of a line
* Double clicking on the selection bar caused the OCR_IBEAM cursor to be
displayed instead of OCR_REVERSE.
* Double clicking did not capture the mouse, which prevented drag
selection after a double click.

These problems were fixed by sharing code with the single left click.
 dlls/riched20/caret.c  |   26 ++++++++++----------------
 dlls/riched20/editor.c |   14 ++++++--------
 dlls/riched20/editor.h |    2 +-
 3 files changed, 17 insertions(+), 25 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-richedit-Fixed-double-click-issues-by-sharing-co.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080705/655eba65/attachment.txt 

More information about the wine-patches mailing list