diff options
author | wm4 <wm4@nowhere> | 2015-01-08 18:32:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-08 18:32:23 +0100 |
commit | 348ea46537bc45c2d4520f1f8ac3f24271b67e0c (patch) | |
tree | 66268e9d3e178186ce287b514d4b879183ef3d90 /video/out/w32_common.c | |
parent | f6e466585a1a1ad9b95afe4f98c15e89f21d2fe4 (diff) | |
download | mpv-348ea46537bc45c2d4520f1f8ac3f24271b67e0c.tar.bz2 mpv-348ea46537bc45c2d4520f1f8ac3f24271b67e0c.tar.xz |
win32: minor simplification
The events parameter is not needed here and won't ever be.
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index bcfe0dbff0..0df65a1eac 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1211,8 +1211,7 @@ static bool vo_w32_is_cursor_in_client(struct vo_w32_state *w32) return SendMessage(w32->window, WM_NCHITTEST, 0, pos) == HTCLIENT; } -static int gui_thread_control(struct vo_w32_state *w32, int *events, - int request, void *arg) +static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg) { switch (request) { case VOCTRL_FULLSCREEN: @@ -1289,7 +1288,7 @@ static void do_control(void *ptr) int request = *(int *)p[2]; void *arg = p[3]; int *ret = p[4]; - *ret = gui_thread_control(w32, events, request, arg); + *ret = gui_thread_control(w32, request, arg); *events |= w32->event_flags; w32->event_flags = 0; // Safe access, since caller (owner of vo) is blocked. |