Mercurial > mplayer.hg
changeset 1821:3c65d5675676
fix keyh
author | pontscho |
---|---|
date | Sat, 01 Sep 2001 14:58:12 +0000 |
parents | a04b2f92bd14 |
children | 85dda3b18445 |
files | Gui/mplayer/mw.h |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/mw.h Sat Sep 01 14:44:23 2001 +0000 +++ b/Gui/mplayer/mw.h Sat Sep 01 14:58:12 2001 +0000 @@ -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 ); }