diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 23:20:01 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 23:20:01 +0000 |
commit | eed444197b4d97fcc4abcc62b2235ed05ad26680 (patch) | |
tree | f9e437b17ddc2ea534e7733648a32ddcc5489b8d /Gui/mplayer | |
parent | 59623831cf7e3aaeffe987f1f70c1e01469e4301 (diff) | |
download | mpv-eed444197b4d97fcc4abcc62b2235ed05ad26680.tar.bz2 mpv-eed444197b4d97fcc4abcc62b2235ed05ad26680.tar.xz |
fix fs handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5033 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r-- | Gui/mplayer/play.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 ); |