summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-02 19:37:57 +0100
committerwm4 <wm4@nowhere>2014-12-02 20:36:55 +0100
commitb6ca4a48e1ed3a79e2ec949f8fd3156749a0a283 (patch)
tree14b0f069aa0c639ea74a8e0e1b368ac7af789265
parent29bc781b685bf9fa0439c1c3c69eed34c474e363 (diff)
downloadmpv-b6ca4a48e1ed3a79e2ec949f8fd3156749a0a283.tar.bz2
mpv-b6ca4a48e1ed3a79e2ec949f8fd3156749a0a283.tar.xz
osc: always force mouse_move binding
So the OSC will still appear when using --no-input-default-bindings. It also means it may override a user's mouse_move binding, but I guess users who don't want the OSC should just use the --no-osc option.
-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 12baf7e541..f2485700b3 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1880,7 +1880,7 @@ mp.observe_property("cache-idle", "bool", cache_state)
mp.set_key_bindings({
{"mouse_move", function(e) process_event("mouse_move", nil) end},
{"mouse_leave", mouse_leave},
-}, "showhide")
+}, "showhide", "force")
mp.enable_key_bindings("showhide", "allow-vo-dragging|allow-hide-cursor")
--mouse input bindings