diff options
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index ff5b84f998..525772ace1 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -873,12 +873,7 @@ int vo_x11_check_events(Display * mydisplay) } break; case MotionNotify: - if(enable_mouse_movements) - { - char cmd_str[40]; - sprintf(cmd_str,"set_mouse_pos %i %i",Event.xmotion.x, Event.xmotion.y); - mp_input_queue_cmd(mp_input_parse_cmd(cmd_str)); - } + vo_mouse_movement(Event.xmotion.x, Event.xmotion.y); if (vo_mouse_autohide) { |