changeset 36894:669e2f7fb150

Directly call mplayer_put_key() instead of vo_x11_putkey().
author ib
date Mon, 10 Mar 2014 18:03:55 +0000
parents 87e6a09a07a7
children 5616bd62fa26
files gui/ui/actions.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Mon Mar 10 17:35:07 2014 +0000
+++ b/gui/ui/actions.c	Mon Mar 10 18:03:55 2014 +0000
@@ -45,14 +45,14 @@
 #include "m_property.h"
 #include "mixer.h"
 #include "mp_core.h"
+#include "mp_fifo.h"
 #include "mp_msg.h"
 #include "mpcommon.h"
 #include "mplayer.h"
 #include "input/input.h"
 #include "libmpdemux/demuxer.h"
 #include "libvo/video_out.h"
-#include "libvo/wskeys.h"
-#include "libvo/x11_common.h"
+#include "osdep/keycodes.h"
 #include "osdep/timer.h"
 #include "stream/stream.h"
 #include "sub/sub.h"
@@ -310,11 +310,11 @@
         break;
 
     case evIncVolume:
-        vo_x11_putkey(wsGrayMul);
+        mplayer_put_key(KEY_VOLUME_UP);
         break;
 
     case evDecVolume:
-        vo_x11_putkey(wsGrayDiv);
+        mplayer_put_key(KEY_VOLUME_DOWN);
         break;
 
     case evMute: