winemac: Disable moving or resizing windows when cursor clipping is in effect.
commitef4677106adf0ac4c0c9ea7037513ef4e5911037
authorKen Thomases <ken@codeweavers.com>
Mon, 28 Apr 2014 20:09:28 +0000 (28 15:09 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Apr 2014 09:22:58 +0000 (29 11:22 +0200)
tree0daf2da5ca904cb7e7ff667dd8620f7adb4bd503
parent979c4498df16ec8177a59b883a1ca8a3f412dae4
winemac: Disable moving or resizing windows when cursor clipping is in effect.

Many games clip the cursor to the client area of the window.  However, on OS X,
the resizing controls extend into that client area.  So, it's possible that
while playing, the user might unintentionally click in the resizing area and
drag, resizing the window.
dlls/winemac.drv/cocoa_app.h
dlls/winemac.drv/cocoa_app.m
dlls/winemac.drv/cocoa_window.h
dlls/winemac.drv/cocoa_window.m
dlls/winemac.drv/macdrv_cocoa.h
dlls/winemac.drv/macdrv_main.c