From 7e0a27e93b86cd332e39d47d77923cef5eae4447 Mon Sep 17 00:00:00 2001 From: nplourde Date: Fri, 20 May 2005 16:40:35 +0000 Subject: Toggle only between ontop and normal. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15525 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_quartz.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c index 7d0cbfcdee..183d08e86f 100644 --- a/libvo/vo_quartz.c +++ b/libvo/vo_quartz.c @@ -1234,26 +1234,7 @@ void window_ontop() //Cycle between level winLevel++; if(winLevel>2) - winLevel = 0; - - //hide menu bar and mouse cursor if in fullscreen and quiting wallpaper mode - if(vo_fs) - { - if(winLevel != 0) - { - if(device_id == 0) - { - HideMenuBar(); - HideCursor(); - } - } - else - { - ShowMenuBar(); - ShowCursor(); - } - } - + winLevel = 1; } SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel])); } -- cgit v1.2.3