[MPlayer-cvslog] r34031 - trunk/gui/ui/main.c

ib subversion at mplayerhq.hu
Thu Sep 1 18:55:14 CEST 2011


Author: ib
Date: Thu Sep  1 18:55:14 2011
New Revision: 34031

Log:
Change ESC key behavior in fullscreen state.

The ESC key shall only switch to normal video window size
if there is a video window and during playback.
It shall have its default meaning else.

Modified:
   trunk/gui/ui/main.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Sep  1 18:44:52 2011	(r34030)
+++ trunk/gui/ui/main.c	Thu Sep  1 18:55:14 2011	(r34031)
@@ -580,7 +580,7 @@ void uiMainKeyHandle( int KeyCode,int Ty
       case wsXF86Next:         msg=evNext; break;
       case wsXF86Media:        msg=evLoad; break;
       case wsEscape:
-    	    if ( guiApp.subWindow.isFullScreen )
+    	    if ( guiInfo.VideoWindow && guiInfo.Playing && guiApp.subWindow.isFullScreen )
 	     {
 	      uiEventHandling( evNormalSize,0 );
 	      return;


More information about the MPlayer-cvslog mailing list