summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-26 00:59:19 +0100
committerwm4 <wm4@nowhere>2014-02-26 00:59:19 +0100
commit9a7a3d125be38d46db0bf5de26e9c41392cc63fb (patch)
treed4fe395bd6eca4711664cdd61cbb99242376fa8a /player/lua/osc.lua
parentf3c933e5d3501c71e7f38dc62b27096a90090d5e (diff)
downloadmpv-9a7a3d125be38d46db0bf5de26e9c41392cc63fb.tar.bz2
mpv-9a7a3d125be38d46db0bf5de26e9c41392cc63fb.tar.xz
osd: override user bindings for OSC input
E.g. binding MOUSE_BTN0 always used the user defined binding. While it is ok that the user can override mouse_move and mouse_leave (for whatever reasons), we want to strictly override the bindings when input is sent to the OSC itself. Regression since 03624a1.
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r--player/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 0ccb4c3552..4f217d33c5 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1279,5 +1279,5 @@ mp.set_key_bindings({
{"mouse_btn0_dbl", "ignore"},
{"shift+mouse_btn0_dbl", "ignore"},
{"mouse_btn2_dbl", "ignore"},
-}, "input")
+}, "input", "force")
mp.enable_key_bindings("input")