diff Gui/mplayer/play.c @ 12068:df423e2d71dc

patch from Rune <runner@mail.tele.dk>
author pontscho
date Thu, 25 Mar 2004 21:49:48 +0000
parents 2608bf0037b6
children 7989bfeaca47
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Thu Mar 25 21:46:21 2004 +0000
+++ b/Gui/mplayer/play.c	Thu Mar 25 21:49:48 2004 +0000
@@ -95,11 +95,12 @@
      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 );