wineconsole: Handle mouse wheel scrolling for user backend.

Dylan Smith dylan.ah.smith at gmail.com
Thu Feb 25 18:15:13 CST 2010


The mouse wheel will scroll if the buffer height is greater than the
console window's height in lines, otherwise console mouse input events
are generated.

I used a fallthrough for the WM_MOUSEWHEEL to use the WM_VSCROLL code,
and needed to add a missing break at the end of the WM_VSCROLL case.
---
 programs/wineconsole/user.c |   38 ++++++++++++++++++++++++++------------
 1 files changed, 26 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wineconsole-Implement-scrolling-with-mouse-wheel.patch
Type: text/x-patch
Size: 2573 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100225/871961c1/attachment.bin>


More information about the wine-patches mailing list