diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 13:00:59 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 14:46:21 +0300 |
commit | 423b95bf5cc46da5952a907fa565c0c7119724f0 (patch) | |
tree | 1bca5f4ac7cb5fb0d17cabcee6708d23ced2cb99 /libvo/x11_common.c | |
parent | f7b608812ea637f89d9f9e860982940fd7101495 (diff) | |
download | mpv-423b95bf5cc46da5952a907fa565c0c7119724f0.tar.bz2 mpv-423b95bf5cc46da5952a907fa565c0c7119724f0.tar.xz |
input: Move cmd_queue to context struct
Menu instances now also need a input context pointer to queue commands.
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 85ed754958..ec48f16ff6 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1063,7 +1063,8 @@ int vo_x11_check_events(struct vo *vo) { 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)); + mp_input_queue_cmd(vo->input_ctx, + mp_input_parse_cmd(cmd_str)); } if (x11->vo_mouse_autohide) |