[Mplayer-cvslog] CVS: main/Gui/mplayer play.c,1.50,1.51

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Mar 11 00:20:05 CET 2002


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

Modified Files:
	play.c 
Log Message:
fix fs handling

Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- play.c	7 Mar 2002 18:29:11 -0000	1.50
+++ play.c	10 Mar 2002 23:20:01 -0000	1.51
@@ -30,7 +30,7 @@
 {
  static int sx,sy;
 
- if ( !guiIntfStruct.Playing )
+// if ( !guiIntfStruct.Playing )
   {
    wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
    if ( appMPlayer.subWindow.isFullScreen )
@@ -39,7 +39,6 @@
      wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
      wsWindowDecoration( &appMPlayer.subWindow,appMPlayer.subWindow.Decorations );
      appMPlayer.subWindow.isFullScreen=0;
-     vo_fs=0;
     }
     else
      {
@@ -48,10 +47,10 @@
       wsMoveWindow( &appMPlayer.subWindow,True,0,0 );
       wsWindowDecoration( &appMPlayer.subWindow,0 );
       appMPlayer.subWindow.isFullScreen=1;
-      vo_fs=1;
      }
+   vo_fs=appMPlayer.subWindow.isFullScreen;     
    wsVisibleWindow( &appMPlayer.subWindow,wsShowWindow );
-  } else { vo_x11_fullscreen(); appMPlayer.subWindow.isFullScreen=vo_fs; }
+  }// else { vo_x11_fullscreen(); appMPlayer.subWindow.isFullScreen=vo_fs; }
   
  fullscreen=appMPlayer.subWindow.isFullScreen;
  if ( guiIntfStruct.Playing ) wsSetBackgroundRGB( &appMPlayer.subWindow,0,0,0 );




More information about the MPlayer-cvslog mailing list