Sweden-Number/dlls/winemac.drv
Ken Thomases a85f11c2e6 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: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:51:34 +02:00
..
.gitattributes
Makefile.in
clipboard.c
cocoa_app.h
cocoa_app.m
cocoa_clipboard.m
cocoa_display.m
cocoa_event.h
cocoa_event.m
cocoa_main.m
cocoa_opengl.h
cocoa_opengl.m
cocoa_status_item.m
cocoa_window.h
cocoa_window.m winemac: Post WINDOW_FRAME_CHANGED with the non-fullscreen frame when exiting of fullscreen mode begins. 2016-10-11 16:51:34 +02:00
display.c
dragdrop.c
event.c
gdi.c
image.c
ime.c
keyboard.c
macdrv.h
macdrv_cocoa.h
macdrv_main.c
macdrv_res.h
mouse.c
opengl.c
surface.c
systray.c
window.c
winemac.drv.spec
winemac.rc