From a47ac752e5da5b4d056ca1d8a511c660aedbae4b Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 1 Oct 2001 13:09:04 +0000 Subject: mwm fullscreen bug fixed (?) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2031 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/sw.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Gui/mplayer/sw.h') diff --git a/Gui/mplayer/sw.h b/Gui/mplayer/sw.h index 134debd6e0..a97dc88921 100644 --- a/Gui/mplayer/sw.h +++ b/Gui/mplayer/sw.h @@ -7,7 +7,6 @@ int SubVisible = 0; void mplSubDraw( wsParamDisplay ) { if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible=0; - if ( !appMPlayer.subWindow.Mapped || appMPlayer.subWindow.Visible == wsWindowNotVisible ) return; @@ -62,7 +61,12 @@ 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 ); + if ( !mplSubMoved ) + { + if( SubVisible++%2 ) wsMoveTopWindow( &appMPlayer.subWindow ); + else wsMoveTopWindow( &appMPlayer.mainWindow ); + } msButton=0; mplSubMoved=0; break; -- cgit v1.2.3