cocoa_common: use the same window level when windowed and fullscreen
commita7081626327e8039976361926974ba083088070f
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Sat, 29 Sep 2012 22:32:53 +0000 (30 00:32 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sat, 10 Nov 2012 20:10:56 +0000 (10 22:10 +0200)
treeadbc503960c989ac618affcdfd893045506f7967
parent1e10c4c2cb388838009c138dedbe0472d359494a
cocoa_common: use the same window level when windowed and fullscreen

This greatly simplifies the code and makes alt tab behave like it is
supposed to: it doesn't put the mplayer window behind the other ones
when losing focus.

If you have other programs that are displaying themselves above the
normal window level, avoid them or use --ontop.
libvo/cocoa_common.m