winemac: Reapply display modes when switching back to app after "escaping" with Comma...
commitb7709771d1be742b04cb3b53c20a14c499e961fc
authorKen Thomases <ken@codeweavers.com>
Wed, 2 Oct 2013 04:24:13 +0000 (1 23:24 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Oct 2013 09:00:36 +0000 (2 11:00 +0200)
treed1216743415cbae8d6ad535965a5bfc443c71ca3
parent7c55e912da3a488c8681678241d68d7033d85f6d
winemac: Reapply display modes when switching back to app after "escaping" with Command-Tab.

The Mac driver captures the displays when the program changes the display
mode.  If the user types Command-Tab to switch away, it resets the displays
to their original modes and releases them.  However, if they switched back,
it didn't restore the mode to what the program had set, so the program often
showed the game window in a corner of the screen with the top behind the Mac
menu bar.
dlls/winemac.drv/cocoa_app.h
dlls/winemac.drv/cocoa_app.m