# HG changeset patch # User pontscho # Date 999351512 0 # Node ID b5b89f8efc5f4df5b2dd1596d31b0d545f54f032 # Parent 18ba1f7373c59c8718fa6ed4faea2d1835b3ea34 fix key handling ? diff -r 18ba1f7373c5 -r b5b89f8efc5f Gui/mplayer/mw.h --- a/Gui/mplayer/mw.h Sat Sep 01 08:54:37 2001 +0000 +++ b/Gui/mplayer/mw.h Sat Sep 01 13:38:32 2001 +0000 @@ -125,12 +125,16 @@ } } +int mainis = 1; + void mplMainDraw( wsParamDisplay ) { wItem * item; txSample * image = NULL; int i; +if ( appMPlayer.mainWindow.Focused == 2 ) mainis=1; + if ( appMPlayer.mainWindow.Visible == wsWindowNotVisible || !mainVisible ) return; // !appMPlayer.mainWindow.Mapped ) return; @@ -532,8 +536,14 @@ case wsRight: msg=evForward10sec; break; case wsLeft: msg=evBackward10sec; break; - case wsGrayMul: msg=evIncVolume; break; - case wsGrayDiv: msg=evDecVolume; break; + case wsGrayMul: + msg=evIncVolume; + vo_x11_putkey( Key ); + break; + case wsGrayDiv: + msg=evDecVolume; + vo_x11_putkey( Key ); + break; case wsEnter: msg=evPlay; break; case wsSpace: msg=evPause; break;