• Ken Thomases's avatar
    winemac: Prevent maximized windows from entering Cocoa full-screen mode. · 14a0fc3c
    Ken Thomases authored
    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.
    14a0fc3c
Name
Last commit
Last update
..
.gitattributes Loading commit data...
Makefile.in Loading commit data...
clipboard.c Loading commit data...
cocoa_app.h Loading commit data...
cocoa_app.m Loading commit data...
cocoa_clipboard.m Loading commit data...
cocoa_display.m Loading commit data...
cocoa_event.h Loading commit data...
cocoa_event.m Loading commit data...
cocoa_main.m Loading commit data...
cocoa_opengl.h Loading commit data...
cocoa_opengl.m Loading commit data...
cocoa_status_item.m Loading commit data...
cocoa_window.h Loading commit data...
cocoa_window.m Loading commit data...
display.c Loading commit data...
dragdrop.c Loading commit data...
event.c Loading commit data...
gdi.c Loading commit data...
image.c Loading commit data...
ime.c Loading commit data...
keyboard.c Loading commit data...
macdrv.h Loading commit data...
macdrv_cocoa.h Loading commit data...
macdrv_main.c Loading commit data...
mouse.c Loading commit data...
opengl.c Loading commit data...
surface.c Loading commit data...
systray.c Loading commit data...
window.c Loading commit data...
winemac.drv.spec Loading commit data...