# HG changeset patch # User ib # Date 1314896114 0 # Node ID de065d751a8caec13680080393dc65ecd7e280db # Parent afede91f9d5fb23b40eeaa22835c1b5ac1bf55d9 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. diff -r afede91f9d5f -r de065d751a8c gui/ui/main.c --- a/gui/ui/main.c Thu Sep 01 16:44:52 2011 +0000 +++ b/gui/ui/main.c Thu Sep 01 16:55:14 2011 +0000 @@ -580,7 +580,7 @@ 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;