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/w32_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/w32_common.c')
-rw-r--r-- | libvo/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 82cd9c94a1..b45b06cfbc 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -137,7 +137,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l char cmd_str[40]; snprintf(cmd_str, sizeof(cmd_str), "set_mouse_pos %i %i", GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); - mp_input_queue_cmd(mp_input_parse_cmd(cmd_str)); + mp_input_queue_cmd(global_vo->input_ctx, mp_input_parse_cmd(cmd_str)); } break; case WM_MOUSEWHEEL: |