changeset 3478:e518999fa7e7

fs windows switch fix
author pontscho
date Wed, 12 Dec 2001 23:53:44 +0000
parents 9e7289fdc471
children 2704448de713
files Gui/mplayer/sw.h
diffstat 1 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/sw.h	Wed Dec 12 23:15:15 2001 +0000
+++ b/Gui/mplayer/sw.h	Wed Dec 12 23:53:44 2001 +0000
@@ -55,16 +55,9 @@
    case wsPLMouseButton:
           if ( appMPlayer.subWindow.isFullScreen )
 	   {
-//            if( SubVisible++%2 )
-//             {
-              wsMoveTopWindow( &appMPlayer.mainWindow );
-              fprintf( stderr,"[sw] MAIN TOP\n" );
-//             }
-//             else
-//              {
-//               wsMoveTopWindow( &appMPlayer.subWindow );
-//               fprintf( stderr,"[sw] SUB TOP\n" );
-//              }
+            if( ++SubVisible%2 ) wsMoveTopWindow( &appMPlayer.mainWindow );
+             else wsMoveTopWindow( &appMPlayer.subWindow );
+            mplSubMoved=1;
 	    break;
 	   }
 	  if ( gtkShMem->visiblepopupmenu ) gtkSendMessage( evHidePopUpMenu );