mirror of https://github.com/mpv-player/mpv
fixx fullscreen kattingatas.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1855 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e76805792
commit
d9250c04bb
|
@ -6,10 +6,7 @@ int SubVisible = 0;
|
||||||
|
|
||||||
void mplSubDraw( wsParamDisplay )
|
void mplSubDraw( wsParamDisplay )
|
||||||
{
|
{
|
||||||
if ( appMPlayer.subWindow.State == wsFocused ||
|
if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible=0;
|
||||||
appMPlayer.subWindow.State ==
|
|
||||||
|
|
||||||
) SubVisible=0;
|
|
||||||
|
|
||||||
if ( !appMPlayer.subWindow.Mapped ||
|
if ( !appMPlayer.subWindow.Mapped ||
|
||||||
appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
|
appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
|
||||||
|
@ -72,7 +69,7 @@ void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY )
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case wsRLMouseButton:
|
case wsRLMouseButton:
|
||||||
if ( ( !mplSubMoved )&&( !( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
|
if ( ( !mplSubMoved )&&( ( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
|
||||||
msButton=0;
|
msButton=0;
|
||||||
mplSubMoved=0;
|
mplSubMoved=0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue