changeset 5032:931ce1e11ad1

fix fs handling
author pontscho
date Sun, 10 Mar 2002 23:20:01 +0000
parents 8e43137d59d8
children f6b6b2d9fe4b
files Gui/mplayer/play.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Sun Mar 10 23:05:44 2002 +0000
+++ b/Gui/mplayer/play.c	Sun Mar 10 23:20:01 2002 +0000
@@ -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 );