summaryrefslogtreecommitdiffstats
path: root/video/out/vo_sdl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-27 21:53:29 +0200
committerwm4 <wm4@nowhere>2014-07-27 21:53:29 +0200
commit4c533fbb16b99c4b28fbd968d81bb0b44e3084b5 (patch)
treeceefb95dadc18ee01c29bc6c556d07ad9a8bc22c /video/out/vo_sdl.c
parent89391e7c949216d7edec461e9bb2cb6c787475c6 (diff)
downloadmpv-4c533fbb16b99c4b28fbd968d81bb0b44e3084b5.tar.bz2
mpv-4c533fbb16b99c4b28fbd968d81bb0b44e3084b5.tar.xz
vo: remove vo_mouse_movement() wrapper
So that VO backends don't have to access the VO just for that.
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r--video/out/vo_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index 6fe09d2691..9b52fc08be 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -603,7 +603,7 @@ static void check_events(struct vo *vo)
break;
}
case SDL_MOUSEMOTION:
- vo_mouse_movement(vo, ev.motion.x, ev.motion.y);
+ mp_input_set_mouse_pos(vo->input_ctx, ev.motion.x, ev.motion.y);
break;
case SDL_MOUSEBUTTONDOWN:
mp_input_put_key(vo->input_ctx,