user32: Increased area for scrolling via mouse drag outside scrollbar

Dylan Smith dylan.ah.smith at
Thu Jul 3 10:03:12 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.

All that this patch changes is the distance that the mouse can be moved
away from the scrollbar before it is consider outside of the scrollbar
and returns to its original position.  The distances are proportional to
the size of the scrollbar.

I tested against Windows XP with different themes, and custom scroll bar
sizes to verify the values that I used.  I have also tested it with horizontal
and vertical scrollbars in Wine.
 dlls/user32/scroll.c |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-user32-Increased-area-for-scrolling-via-mouse-dr.diff.txt

More information about the wine-patches mailing list