fixx fullscreen kattingatas.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1855 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-04 16:05:25 +00:00
parent 0e76805792
commit d9250c04bb
1 changed files with 2 additions and 5 deletions

View File

@ -6,10 +6,7 @@ int SubVisible = 0;
void mplSubDraw( wsParamDisplay )
{
if ( appMPlayer.subWindow.State == wsFocused ||
appMPlayer.subWindow.State ==
) SubVisible=0;
if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible=0;
if ( !appMPlayer.subWindow.Mapped ||
appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
@ -72,7 +69,7 @@ void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY )
}
break;
case wsRLMouseButton:
if ( ( !mplSubMoved )&&( !( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
if ( ( !mplSubMoved )&&( ( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
msButton=0;
mplSubMoved=0;
break;