diff options
author | wm4 <wm4@nowhere> | 2014-07-27 21:53:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-27 21:53:29 +0200 |
commit | 4c533fbb16b99c4b28fbd968d81bb0b44e3084b5 (patch) | |
tree | ceefb95dadc18ee01c29bc6c556d07ad9a8bc22c /video/out/vo.c | |
parent | 89391e7c949216d7edec461e9bb2cb6c787475c6 (diff) | |
download | mpv-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.c')
-rw-r--r-- | video/out/vo.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index db6a97eb26..2a640d8ea3 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -406,20 +406,6 @@ const char *vo_get_window_title(struct vo *vo) } /** - * Generates a mouse movement message if those are enable and sends it - * to the "main" MPlayer. - * - * \param posx new x position of mouse - * \param posy new y position of mouse - */ -void vo_mouse_movement(struct vo *vo, int posx, int posy) -{ - if (!vo->opts->enable_mouse_movements) - return; - mp_input_set_mouse_pos(vo->input_ctx, posx, posy); -} - -/** * \brief lookup an integer in a table, table must have 0 as the last key * \param key key to search for * \result translation corresponding to key or "to" value of last mapping |