[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.43,1.44

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Feb 25 14:14:29 CET 2002


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv21388/Gui/mplayer

Modified Files:
	mw.h 
Log Message:
add half new input support for gui

Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- mw.h	23 Feb 2002 15:12:53 -0000	1.43
+++ mw.h	25 Feb 2002 13:14:27 -0000	1.44
@@ -559,9 +559,11 @@
 void mplMainKeyHandle( int State,int Type,int Key )
 {
  int msg = evNone;
+// return;
  if ( Type != wsKeyPressed ) return;
  switch ( Key )
   {
+#ifndef HAVE_NEW_INPUT
    case '.':
    case '>':         msg=evNext; break;
    case ',':
@@ -589,6 +591,7 @@
    case wsS:         msg=evStop; break;
    case wsp:
    case wsP:         msg=evPlayList; break;
+#endif
 
    case wsXF86LowerVolume:  msg=evDecVolume; break;
    case wsXF86RaiseVolume:  msg=evIncVolume; break;
@@ -601,10 +604,5 @@
 
    default:          vo_x11_putkey( Key ); return;
   }
- if ( msg != evNone )
-  {
-   mplEventHandling( msg,0 );
-//   mplMainRender=1;
-//   wsPostRedisplay( &appMPlayer.mainWindow );
-  }
+ if ( msg != evNone ) mplEventHandling( msg,0 );
 }




More information about the MPlayer-cvslog mailing list