From c47bf17c0fb678a8ada47321aa2b17c1b954a856 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 f900b74357..8ba456dc65 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -1269,6 +1269,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