cocoa_common: fix problems with alt-tab window changes
commit4251af8d5ddfd664edda2f5ec4869f228c2ee7a5
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Sun, 22 Apr 2012 21:18:55 +0000 (22 23:18 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 26 Apr 2012 18:03:10 +0000 (26 21:03 +0300)
treef43747699f8f41454846db49e2bc443fd8236862
parent3862d469ae7f22d10f1d51d7056c75782fec2283
cocoa_common: fix problems with alt-tab window changes

Fix alt tabbing to another window in the same workspace. The player
window stayed on top because of a missing call to orderBack:.

Fix alt tabbing to the player window from a different workspace. The
window didn't get activated. Turns out that you must call
makeKeyAndOrderFront: before setLevel: or setPresentationOptions: or
the window will not properly ask for focus.
libvo/cocoa_common.m