summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
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]));
}