Mercurial > mplayer.hg
comparison libvo/vo_quartz.c @ 15524:21252725b639
Toggle only between ontop and normal.
author | nplourde |
---|---|
date | Fri, 20 May 2005 16:40:35 +0000 |
parents | 779230cb313d |
children | 9dbea0b7f3ce |
comparison
equal
deleted
inserted
replaced
15523:92d2852a0f15 | 15524:21252725b639 |
---|---|
1232 if(!vo_quartz_fs) | 1232 if(!vo_quartz_fs) |
1233 { | 1233 { |
1234 //Cycle between level | 1234 //Cycle between level |
1235 winLevel++; | 1235 winLevel++; |
1236 if(winLevel>2) | 1236 if(winLevel>2) |
1237 winLevel = 0; | 1237 winLevel = 1; |
1238 | |
1239 //hide menu bar and mouse cursor if in fullscreen and quiting wallpaper mode | |
1240 if(vo_fs) | |
1241 { | |
1242 if(winLevel != 0) | |
1243 { | |
1244 if(device_id == 0) | |
1245 { | |
1246 HideMenuBar(); | |
1247 HideCursor(); | |
1248 } | |
1249 } | |
1250 else | |
1251 { | |
1252 ShowMenuBar(); | |
1253 ShowCursor(); | |
1254 } | |
1255 } | |
1256 | |
1257 } | 1238 } |
1258 SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel])); | 1239 SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel])); |
1259 } | 1240 } |
1260 | 1241 |
1261 void window_fullscreen() | 1242 void window_fullscreen() |