user32: Fix mouseRect computation for starting position when sizing window.

Ken Thomases ken at codeweavers.com
Wed Sep 11 23:45:52 CDT 2013


The mouseRect is the limit of the mouse position to keep the window between
its minimum and maximum sizes.  The computation was correct if the mouse
started precisely on the window border.  But if the mouse is not exactly at
the border, then the mouse limit has to account for that, because the window
will be resized based on the distance from the starting point.
---
dlls/user32/winpos.c |   16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Fix-mouseRect-computation-for-starting-positi.patch
Type: text/x-patch
Size: 2024 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130911/42e749b2/attachment-0001.bin>


More information about the wine-patches mailing list