• Ken Thomases's avatar
    winemac: Post WINDOW_FRAME_CHANGED with the non-fullscreen frame when exiting of… · a85f11c2
    Ken Thomases authored
    winemac: Post WINDOW_FRAME_CHANGED with the non-fullscreen frame when exiting of fullscreen mode begins.
    
    We had been posting it when exiting fullscreen mode ended.  However, certain
    events during exiting could provoke the back-end to assert the window frame as
    it knows it, which would be the one from full-screen mode.  This would be
    handled by the Cocoa thread after exiting full-screen mode.  So, the window
    would animate to its pre-fullscreen frame and then spontaneously go back to
    covering the screen.  This would be Windows-style fullscreen rather than
    Cocoa-style and there'd be no obvious way to get out.
    
    The problem occurs on macOS 10.12 (Sierra) due to a change in what methods it
    calls on the window while exiting fullscreen.
    Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    a85f11c2
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...
macdrv_res.h 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...
winemac.rc Loading commit data...