summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/play.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 37d4cb6782..c784e7d58e 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -95,11 +95,12 @@ void mplEnd( void )
guiIntfStruct.DVD.current_angle=1;
#endif
- if ( !appMPlayer.subWindow.isFullScreen )
+ if ( !appMPlayer.subWindow.isFullScreen && gtkShowVideoWindow)
{
wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
}
+ else wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
guiGetEvent( guiCEvent,guiSetStop );
mplSubRender=1;
wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.sub.R,appMPlayer.sub.G,appMPlayer.sub.B );