summaryrefslogtreecommitdiffstats
path: root/core/defaultopts.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-30 20:07:15 +0100
committerwm4 <wm4@nowhere>2013-04-24 17:46:40 +0200
commit6ca7b80750fccb9786c013a7af9f597506786d2c (patch)
tree4c9f9d47e33577be5f8241ec5af189f6c234061b /core/defaultopts.c
parent4ab283efe6ca05580944fcc1bf589802f36cce87 (diff)
downloadmpv-6ca7b80750fccb9786c013a7af9f597506786d2c.tar.bz2
mpv-6ca7b80750fccb9786c013a7af9f597506786d2c.tar.xz
input: don't let multi-key bindings block simple key bindings
Key bindings can include mutiple keys at once (additional to key modifiers like ctrl etc.). This becomes annoying when quickly switching between two bound keys, e.g. when seeking back and forth, you might end up hitting the "left" and "right" keys at once. The user doesn't expect to invoke the key binding "left-right", but would prefer a key stroke to invoke the binding it was supposed to invoke. So if there's no binding for a multi-key combination, try to find a binding for the key last held down. This preserves the ability to define multi-key combinations, while the common case works as expected.
Diffstat (limited to 'core/defaultopts.c')
0 files changed, 0 insertions, 0 deletions