user32: In WINPOS_SysCommandSizeMove(), fix constraining a point to a rect's right and bottom edges.

Ken Thomases ken at codeweavers.com
Mon Dec 16 17:23:03 CST 2013


A point coordinate must be strictly less than the right or bottom components
of a RECT to be considered inside of it.  The code had been constraining it to
be less than or equal to those edges.

This fixes some jittering of the window during moving/resizing when the cursor
is against the right or bottom edge of a display.  It may be necessary to
have multiple displays in a non-rectangular configuration to see that.
---
dlls/user32/winpos.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-In-WINPOS_SysCommandSizeMove-fix-constraining.patch
Type: text/x-patch
Size: 1075 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131216/10f77bc1/attachment.bin>


More information about the wine-patches mailing list