[PATCH 1/2] user32: Fix distance calculation for MONITOR_DEFAULTTONEAREST.

Ken Thomases ken at codeweavers.com
Thu Dec 12 16:49:44 CST 2013


If the target rect is outside a monitor rect but is between its extremes in
one dimension, that dimension should contribute 0 to the distance, rather than
some arbitrary amount.
---
dlls/user32/misc.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Fix-distance-calculation-for-MONITOR_DEFAULTT.patch
Type: text/x-patch
Size: 1112 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131212/5f422036/attachment.bin>


More information about the wine-patches mailing list