From eed444197b4d97fcc4abcc62b2235ed05ad26680 Mon Sep 17 00:00:00 2001 From: pontscho Date: Sun, 10 Mar 2002 23:20:01 +0000 Subject: fix fs handling git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5033 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/play.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Gui') diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index 0756a9fe2e..a2637589b9 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -30,7 +30,7 @@ void mplFullScreen( void ) { static int sx,sy; - if ( !guiIntfStruct.Playing ) +// if ( !guiIntfStruct.Playing ) { wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow ); if ( appMPlayer.subWindow.isFullScreen ) @@ -39,7 +39,6 @@ void mplFullScreen( void ) 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 @@ void mplFullScreen( void ) 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 ); -- cgit v1.2.3