[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.18,1.19

Zoltan Ponekker pontscho at mplayer.dev.hu
Sat Sep 1 16:58:14 CEST 2001


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

Modified Files:
	mw.h 
Log Message:
fix keyh

Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mw.h	1 Sep 2001 13:38:32 -0000	1.18
+++ mw.h	1 Sep 2001 14:58:12 -0000	1.19
@@ -536,14 +536,8 @@
    case wsRight:     msg=evForward10sec; break;
    case wsLeft:      msg=evBackward10sec; break;
 
-   case wsGrayMul:   
-        msg=evIncVolume; 
-	vo_x11_putkey( Key );
-	break;
-   case wsGrayDiv:   
-        msg=evDecVolume; 
-	vo_x11_putkey( Key );
-	break;
+   case wsGrayMul:   msg=evIncVolume; break;
+   case wsGrayDiv:   msg=evDecVolume; break;
 
    case wsEnter:     msg=evPlay; break;
    case wsSpace:     msg=evPause; break;
@@ -563,7 +557,6 @@
    case wsS:         msg=evStop; break;
    case wsp:
    case wsP:         msg=evPlayList; break;
-   default:          vo_x11_putkey( Key ); return;
   }
  if ( ( msg != evNone )&&( Type == wsKeyPressed ) )
   {
@@ -571,4 +564,5 @@
    mplMainRender=1;
    wsPostRedisplay( &appMPlayer.mainWindow );
   }
+ vo_x11_putkey( Key );
 }




More information about the MPlayer-cvslog mailing list