user32: Allow scrolling via mouse drag outside scrollbar

Dylan Smith dylan.ah.smith at gmail.com
Mon May 26 13:46:15 CDT 2008


When dragging the scrollbar thumb with the mouse, the mouse is able to
move away from the scrollbar and keep scrolling so long as it isn't too
far away from the scrollbar.  This makes it easier to quickly scroll
with the mouse.

This patch is an alternative to the Windows approach of allowing the
mouse to be dragged a certain distance from the scrollbar, and instead
allows the mouse to be dragged any distance away and still scroll.
Although this is different from Windows, it shouldn't result in any
compatibility issues.

It is my personal opinion that this is a simpler and more usable
approach.
---
 dlls/user32/scroll.c |   32 +++++---------------------------
 1 files changed, 5 insertions(+), 27 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-user32-Allow-scrolling-via-mouse-drag-outside-scroll.diff
Type: text/x-diff
Size: 3406 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080526/a3bbaec1/attachment.diff 


More information about the wine-patches mailing list