From 4c533fbb16b99c4b28fbd968d81bb0b44e3084b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 27 Jul 2014 21:53:29 +0200 Subject: vo: remove vo_mouse_movement() wrapper So that VO backends don't have to access the VO just for that. --- video/out/wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/wayland_common.c') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index fe6142c89a..1feb0080d4 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -340,8 +340,8 @@ static void pointer_handle_motion(void *data, wl->window.mouse_x = wl_fixed_to_int(sx_w); wl->window.mouse_y = wl_fixed_to_int(sy_w); - vo_mouse_movement(wl->vo, wl->window.mouse_x, - wl->window.mouse_y); + mp_input_set_mouse_pos(wl->vo->input_ctx, wl->window.mouse_x, + wl->window.mouse_y); } static void pointer_handle_button(void *data, -- cgit v1.2.3