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 winemac: Use a more idiomatic pattern for an autorelease pool around a loop. 2016-06-03 14:39:19 +09:00
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 winemac: Set windows to transparent until they have content to draw, to reduce flicker. 2016-09-02 23:31:01 +09:00
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 winemac.drv: Correct sizes in COMPOSITIONSTRING structure when updating fields. 2016-06-03 12:30:09 +09:00
keyboard.c
macdrv.h
macdrv_cocoa.h
macdrv_main.c winemac.drv: Added ThreadDetach entry point and use it instead of DllMain. 2016-08-27 13:24:06 +09:00
macdrv_res.h
mouse.c
opengl.c winemac.drv: Use EqualRect() instead of memcmp() to compare RECTs. 2016-10-04 20:33:33 +02:00
surface.c
systray.c
window.c winemac.drv: Use EqualRect() instead of memcmp() to compare RECTs. 2016-10-04 20:33:33 +02:00
winemac.drv.spec winemac.drv: Added ThreadDetach entry point and use it instead of DllMain. 2016-08-27 13:24:06 +09:00
winemac.rc