diff options
author | wm4 <wm4@nowhere> | 2013-08-29 19:06:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-29 19:20:17 +0200 |
commit | c47bf17c0fb678a8ada47321aa2b17c1b954a856 (patch) | |
tree | 525d00f65ba8ffaed0ef521496c6ff2724e29d55 | |
parent | 64faa8c66b2722df5c13c7d8342e767578d658fd (diff) | |
download | mpv-c47bf17c0fb678a8ada47321aa2b17c1b954a856.tar.bz2 mpv-c47bf17c0fb678a8ada47321aa2b17c1b954a856.tar.xz |
input: fix --no-input-default-bindings
The option did nothing. This was probably broken with 5b38a52.
-rw-r--r-- | mpvcore/input/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 && |