[Mplayer-cvslog] CVS: main/Gui interface.c,1.13,1.14

Zoltan Ponekker pontscho at mplayerhq.hu
Sun May 5 20:46:44 CEST 2002


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

Modified Files:
	interface.c 
Log Message:
window resize bug fixed

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- interface.c	3 May 2002 21:44:11 -0000	1.13
+++ interface.c	5 May 2002 18:46:36 -0000	1.14
@@ -98,7 +98,11 @@
 	break;
    case guiSetShVideo:
 	 {
-	  mplResizeToMovieSize( vo_dwidth,vo_dheight );
+	  if ( !appMPlayer.subWindow.isFullScreen )
+	   {
+	    wsResizeWindow( &appMPlayer.subWindow,vo_dwidth,vo_dheight );
+            wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
+	   }
 	  guiIntfStruct.MovieWidth=vo_dwidth;
 	  guiIntfStruct.MovieHeight=vo_dwidth;
          }




More information about the MPlayer-cvslog mailing list