1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-28 10:33:20 +00:00

key hand fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1846 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-02 19:38:37 +00:00
parent 799e438d53
commit a5ba6f36ba

View File

@ -529,13 +529,13 @@ void mplMainKeyHandle( int State,int Type,int Key )
case wsEscape: msg=evExit; break;
case wsUp: msg=evForward1min; break;
case wsDown: msg=evBackward1min; break;
case wsRight: msg=evForward10sec; break;
case wsLeft: msg=evBackward10sec; break;
// case wsUp: msg=evForward1min; break;
// case wsDown: msg=evBackward1min; break;
// case wsRight: msg=evForward10sec; break;
// case wsLeft: msg=evBackward10sec; break;
case wsGrayMul: msg=evIncVolume; break;
case wsGrayDiv: msg=evDecVolume; break;
// case wsGrayMul: msg=evIncVolume; break;
// case wsGrayDiv: msg=evDecVolume; break;
case wsEnter: msg=evPlay; break;
case wsSpace: msg=evPause; break;
@ -560,7 +560,7 @@ void mplMainKeyHandle( int State,int Type,int Key )
if ( ( msg != evNone )&&( Type == wsKeyPressed ) )
{
mplMsgHandle( msg,0 );
mplMainRender=1;
wsPostRedisplay( &appMPlayer.mainWindow );
// mplMainRender=1;
// wsPostRedisplay( &appMPlayer.mainWindow );
}
}