• Ken Thomases's avatar
    winemac: Use NSMouseInRect() instead of NSPointInRect() to compensate for… · 018d629b
    Ken Thomases authored
    winemac: Use NSMouseInRect() instead of NSPointInRect() to compensate for Cocoa's off-by-one coordinate system.
    
    This matches what Cocoa does when determining how to handle an event so that,
    for example, our test if a click is in the window grow box corresponds to
    whether Cocoa will run an internal mouse-tracking loop to resize the window
    when we pass it the event.  This fixes a problem where both Cocoa and user32
    would try to run a resize loop and the cursor would get "stuck" resizing the
    window after the button was released.
    018d629b
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Make.vars.in Loading commit data...
Makefile.in Loading commit data...
Maketest.rules.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...