summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-20 16:40:35 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-20 16:40:35 +0000
commit7e0a27e93b86cd332e39d47d77923cef5eae4447 (patch)
tree8c1d073d893e6ad1c338043222607ccfea215181 /libvo/vo_quartz.c
parentf912acba6d1ed3bf7e1c722057df28639111e57b (diff)
downloadmpv-7e0a27e93b86cd332e39d47d77923cef5eae4447.tar.bz2
mpv-7e0a27e93b86cd332e39d47d77923cef5eae4447.tar.xz
Toggle only between ontop and normal.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15525 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_quartz.c')
-rw-r--r--libvo/vo_quartz.c21
1 files changed, 1 insertions, 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]));
}