# HG changeset patch # User pontscho # Date 1015802401 0 # Node ID 931ce1e11ad1a03ffeea7c98dfe605a855e23e1d # Parent 8e43137d59d88efb4def625ea2f972ad49b38356 fix fs handling diff -r 8e43137d59d8 -r 931ce1e11ad1 Gui/mplayer/play.c --- 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 );