[Mplayer-cvslog] CVS: main/Gui/mplayer play.c,1.5,1.6

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Aug 29 19:48:08 CEST 2001


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

Modified Files:
	play.c 
Log Message:
fullscreen fixed

Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- play.c	29 Aug 2001 15:43:29 -0000	1.5
+++ play.c	29 Aug 2001 17:48:06 -0000	1.6
@@ -54,8 +54,16 @@
       appMPlayer.subWindow.OldY=( wsMaxY - appMPlayer.sub.height ) / 2;
      }
   }
+  else
+   {
+     mplx=appMPlayer.subWindow.OldX;
+     mply=appMPlayer.subWindow.OldY;
+     mplwidth=appMPlayer.subWindow.OldWidth;
+     mplheight=appMPlayer.subWindow.OldHeight;
+   }
  wsFullScreen( &appMPlayer.subWindow );
- wsMoveTopWindow( &appMPlayer.subWindow );
+// wsMoveTopWindow( &appMPlayer.subWindow );
+ mplResize( 0,0,appMPlayer.subWindow.Width,appMPlayer.subWindow.Height );
 }
 
 extern int mplSubRender;
@@ -91,7 +99,7 @@
 void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
 {
 
-//printf("mplResize(%d,%d,%d,%d)  \n",X,Y,width,height);
+printf("mplResize(%d,%d,%d,%d)  \n",X,Y,width,height);
 	vo_setwindowsize( width,height );
         vo_resize=1;
 




More information about the MPlayer-cvslog mailing list