[Mplayer-cvslog] CVS: main/Gui/mplayer sw.h,1.3,1.4

Zoltan Ponekker pontscho at mplayer.dev.hu
Thu Aug 30 18:50:07 CEST 2001


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

Modified Files:
	sw.h 
Log Message:
move fix

Index: sw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/sw.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sw.h	28 Aug 2001 15:54:18 -0000	1.3
+++ sw.h	30 Aug 2001 16:50:03 -0000	1.4
@@ -6,7 +6,8 @@
 
 void mplSubDraw( wsParamDisplay )
 {
- if ( !appMPlayer.subWindow.Visible || mplShMem->Playing ) return;
+ if ( !appMPlayer.subWindow.Visible ) return;
+ if ( mplShMem->Playing ) { vo_expose=1; return; }
 
  if ( mplSubRender )
   {
@@ -44,7 +45,7 @@
            {
             case wsPLMouseButton:
                    mplSubMoved=1;
-                   wsMoveWindow( &appMPlayer.subWindow,RX - sx,RY - sy );
+                   if ( !appMPlayer.subWindow.isFullScreen ) wsMoveWindow( &appMPlayer.subWindow,RX - sx,RY - sy );
                    break;
             case wsPRMouseButton:
                    mplMenuMouseHandle( X,Y,RX,RY );
@@ -53,7 +54,10 @@
            }
           break;
    case wsRLMouseButton:
-          if ( !mplSubMoved ) wsMoveTopWindow( &appMPlayer.mainWindow );
+          if ( !mplSubMoved )
+	   {
+	    wsMoveTopWindow( &appMPlayer.mainWindow );
+	   }
           msButton=0;
           mplSubMoved=0;
           break;




More information about the MPlayer-cvslog mailing list