It looks like this patch wasn't applied to CVS and I didn't see any comments here in wine-devel. Before I resubmit I just want to make sure that it wasn't turned down for any particular reason.
=Michael C. Maggio http://www.voyd.net/
-----Original Message----- From: Michael C. Maggio [mailto:voyager@voyd.net] Sent: Tuesday, January 15, 2002 1:27 AM To: wine-patches@winehq.com Subject: Patch: Double-click support
This patch adds support for double clicking in Wine. The added function, _is_dblclick(), is invoked with each button-down mouse event. The event must be the same button (left, middle, or right), at the same X,Y position, and occur within 500 milliseconds from the previous event. The original button-down event is still invoked regardless of the double-click. Tested in Starcraft. :)
Ideally, we may eventually want to determine the double-click delay time from the registry, as it is a configurable Windows setting. But this should serve the purpose in the mean time.
One last tidbit of info - I did not add a function prototype to any header files given the limited scope of this function. Whether this deviates from the Wine Development Standard (tm), I do not know. Perhaps a local prototype is more suitable in this case for the sake of ANSI-C compliance. I would appreciate knowing, at least, what the preferred method of prototyping is.
ChangeLog: Adds support for double-click events via _is_dblclick().
=Michael C. Maggio http://www.voyd.net/
"Michael C. Maggio" voyager@voyd.net writes:
It looks like this patch wasn't applied to CVS and I didn't see any comments here in wine-devel. Before I resubmit I just want to make sure that it wasn't turned down for any particular reason.
Double click is already implemented, look in windows/message.c. If it doesn't work for you there's probably something else going on.