diff options
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/mw.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index 0af876e20a..1f9434174b 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -125,12 +125,16 @@ void PutImage( txSample * bf,int x,int y,int max,int ofs ) } } +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 @@ void mplMainKeyHandle( int State,int Type,int Key ) 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; |