Sweden-Number/dlls/winemac.drv
Ken Thomases 14a0fc3ccc winemac: Prevent maximized windows from entering Cocoa full-screen mode.
OS X doesn't really have the concept of windows being maximized; that is, being
in a mode where they can't be moved or resized.  As a consequence, it doesn't
have a button in the window title bar to restore a maximized window to normal.
So, when a Wine window is maximized, the Mac driver hijacks the green zoom
button to act as a restore button.  (When a window is zoomed, the green button
"unzooms" back to its last user size and position, so it's analogous.)

However, with OS X 10.10 (Yosemite), the green button prefers to act as a
toggle for the Cocoa full-screen mode rather than zooming and unzooming.  This
made it difficult for users to restore a maximized window.  They would have to
Option-click the green button, double-click the title bar, or choose Zoom
from the Window menu, none of which is obvious.

The fix is to disable Cocoa full-screen mode for maximized windows.  Then, the
green button reverts to unzoom and restoring the window.
2015-03-13 21:52:14 +09:00
..
.gitattributes
Makefile.in
clipboard.c
cocoa_app.h
cocoa_app.m winemac: Tell Wine that Cocoa brought a window forward even if a window is being dragged. 2015-02-02 22:27:35 +09:00
cocoa_clipboard.m
cocoa_display.m
cocoa_event.h
cocoa_event.m winemac.drv: Always initialize a closure-captured object pointer. 2015-02-02 22:27:42 +09:00
cocoa_main.m
cocoa_opengl.h
cocoa_opengl.m winemac: Make the implementation of clearToBlackIfNeeded compatible with core contexts. 2015-01-08 17:29:04 +01:00
cocoa_status_item.m
cocoa_window.h
cocoa_window.m winemac: Prevent maximized windows from entering Cocoa full-screen mode. 2015-03-13 21:52:14 +09:00
display.c
dragdrop.c
event.c
gdi.c
image.c
ime.c
keyboard.c
macdrv.h winemac: Fix conversion of empty RECT to an empty CGRect. 2015-01-20 11:10:36 +01:00
macdrv_cocoa.h
macdrv_main.c
mouse.c
opengl.c winemac: Implement wglCreateContextAttribsARB. 2015-01-08 17:29:11 +01:00
surface.c
systray.c
window.c winemac: WS_EX_DLGMODALFRAME shouldn't prevent the window being resizeable. 2014-11-13 18:46:40 +09:00
winemac.drv.spec