[Mplayer-cvslog] CVS: main/Gui/mplayer sw.h,1.15,1.16

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Oct 1 15:09:06 CEST 2001


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv11005/Gui/mplayer

Modified Files:
	sw.h 
Log Message:
mwm fullscreen bug fixed (?)

Index: sw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/sw.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sw.h	1 Oct 2001 12:28:23 -0000	1.15
+++ sw.h	1 Oct 2001 13:08:45 -0000	1.16
@@ -7,7 +7,6 @@
 void mplSubDraw( wsParamDisplay )
 {
  if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible=0;
- 
  if ( !appMPlayer.subWindow.Mapped ||
       appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
 
@@ -62,7 +61,12 @@
            }
           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;




More information about the MPlayer-cvslog mailing list