winemac: Implement support for maximizing windows.
commit66736b4ab31d5a6ba7163876e3a5ae2de8cba327
authorKen Thomases <ken@codeweavers.com>
Mon, 30 Dec 2013 03:34:48 +0000 (29 21:34 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 30 Dec 2013 18:01:50 +0000 (30 19:01 +0100)
tree84e0a97503e953715122778ee1c382446e8bcc68
parent0137b07973d86d288265a25a1f55956c6b0cbe3f
winemac: Implement support for maximizing windows.

The user is prevented from moving or resizing a maximized window.  The zoom
button is still present and enabled for a maximized window but requests that
it be restored rather than simply resizing it, which is what it does for
normal windows.

If a window is not resizable (lacks WS_THICKFRAME) but has a maximize box
(WS_MAXIMIZEBOX), then the zoom button requests that it be maximized rather
than resizing it.
dlls/winemac.drv/cocoa_window.h
dlls/winemac.drv/cocoa_window.m
dlls/winemac.drv/event.c
dlls/winemac.drv/macdrv.h
dlls/winemac.drv/macdrv_cocoa.h
dlls/winemac.drv/window.c