mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 19:22:11 +00:00
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 )
|
||||
{
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user