From d9250c04bb57e5f2ed3ad9c3a58ddfb542005a8d Mon Sep 17 00:00:00 2001 From: pontscho Date: Tue, 4 Sep 2001 16:05:25 +0000 Subject: fixx fullscreen kattingatas. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1855 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/sw.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Gui/mplayer/sw.h b/Gui/mplayer/sw.h index 040cb0d971..eee66144bc 100644 --- a/Gui/mplayer/sw.h +++ b/Gui/mplayer/sw.h @@ -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; -- cgit v1.2.3