[Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.92,1.93
Zoltan Ponekker
pontscho at mplayerhq.hu
Thu Nov 28 01:44:28 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv28619/mplayer
Modified Files:
mw.c
Log Message:
no exit on fulscreen if you press esc
Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- mw.c 27 Nov 2002 23:11:49 -0000 1.92
+++ mw.c 28 Nov 2002 00:44:24 -0000 1.93
@@ -640,7 +640,7 @@
{
switch ( Key )
{
- case wsEnter: msg=evPlay; break;
+ case wsEnter: msg=evPlay; break;
case wsXF86LowerVolume: msg=evDecVolume; break;
case wsXF86RaiseVolume: msg=evIncVolume; break;
case wsXF86Mute: msg=evMute; break;
@@ -649,6 +649,14 @@
case wsXF86Prev: msg=evPrev; break;
case wsXF86Next: msg=evNext; break;
case wsXF86Media: msg=evLoad; break;
+ case wsEscape:
+ if ( appMPlayer.subWindow.isFullScreen )
+ {
+ if ( guiIntfStruct.event_struct )
+ { memset( guiIntfStruct.event_struct,0,sizeof( XEvent ) ); guiIntfStruct.event_struct=NULL; }
+ mplEventHandling( evNormalSize,0 );
+ break;
+ }
default: vo_x11_putkey( Key ); return;
}
More information about the MPlayer-cvslog
mailing list