summaryrefslogtreecommitdiffstats
path: root/libvo/sdl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/sdl_common.c')
-rw-r--r--libvo/sdl_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/sdl_common.c b/libvo/sdl_common.c
index 2aef6e39ff..89ed0198e4 100644
--- a/libvo/sdl_common.c
+++ b/libvo/sdl_common.c
@@ -19,6 +19,7 @@
*/
#include "sdl_common.h"
+#include "old_vo_defines.h"
#include "mp_msg.h"
#include "mp_fifo.h"
#include "osdep/keycodes.h"
@@ -131,7 +132,7 @@ int sdl_default_handle_event(SDL_Event *event)
return VO_EVENT_EXPOSE;
case SDL_MOUSEMOTION:
- vo_mouse_movement(event->motion.x, event->motion.y);
+ vo_mouse_movement(global_vo, event->motion.x, event->motion.y);
break;
case SDL_MOUSEBUTTONDOWN: