Module: wine Branch: master Commit: 66736b4ab31d5a6ba7163876e3a5ae2de8cba327 URL: http://source.winehq.org/git/wine.git/?a=commit;h=66736b4ab31d5a6ba7163876e3...
Author: Ken Thomases ken@codeweavers.com Date: Sun Dec 29 21:34:48 2013 -0600
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 | 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(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=66736b4ab31d5a6ba71638...