From c89b162462d37b06d1d2f78379c8d4fc9bf57c81 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 29 Aug 2013 19:06:13 +0200 Subject: input: fix --no-input-default-bindings The option did nothing. This was probably broken with 5b38a52. --- mpvcore/input/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c index 504eb66c6e..cfeb27975e 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -1298,6 +1298,8 @@ static struct cmd_bind *find_any_bind_for_key(struct input_ctx *ictx, struct active_section *s = &ictx->active_sections[i]; struct cmd_bind *bind = find_bind_for_key_section(ictx, s->name, n, keys); if (bind) { + if (bind->is_builtin && !ictx->default_bindings) + goto skip; struct cmd_bind_section *bs = bind->owner; for (int x = 0; x < n; x++) { if (MP_KEY_DEPENDS_ON_MOUSE_POS(keys[x]) && bs->mouse_area_set && -- cgit v1.2.3