[PATCH 6/6] winemac: Implement support for maximizing windows.
Ken Thomases
ken at codeweavers.com
Sun Dec 29 21:34:48 CST 2013
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 | 2 +
dlls/winemac.drv/cocoa_window.m | 47 +++++++++++++++++++++++++++++++++-----
dlls/winemac.drv/event.c | 10 ++++++++
dlls/winemac.drv/macdrv.h | 2 +
dlls/winemac.drv/macdrv_cocoa.h | 4 +++
dlls/winemac.drv/window.c | 26 ++++++++++++++++++++-
6 files changed, 83 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-winemac-Implement-support-for-maximizing-windows.patch
Type: text/x-patch
Size: 11695 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131229/eadfdd6a/attachment-0001.bin>
More information about the wine-patches
mailing list