Toggle only between ontop and normal.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15525 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-05-20 16:40:35 +00:00
parent f912acba6d
commit 7e0a27e93b
1 changed files with 1 additions and 20 deletions

View File

@ -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]));
}