changeset 35611:a4741058bb40

Reset video window after STOP (MP command or evStop) has been pressed. Reset the video window as specified in the configuration file. Indirectly reported by Hans-Dieter Kosch, hdkosch kabelbw de.
author ib
date Sat, 22 Dec 2012 13:17:19 +0000
parents 187738d40b0b
children 488b3fea696d
files gui/ui/main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/main.c	Sat Dec 22 11:21:35 2012 +0000
+++ b/gui/ui/main.c	Sat Dec 22 13:17:19 2012 +0000
@@ -371,7 +371,7 @@
 	  break;
          } else if ( !guiApp.videoWindow.isFullScreen ) break;
    case evFullScreen:
-        if ( guiInfo.VideoWindow && guiInfo.Playing )
+        if ( guiInfo.VideoWindow && ( guiInfo.Playing || !iparam ) )
          {
           uiFullScreen();
           if ( !guiApp.videoWindow.isFullScreen )