From b6ca4a48e1ed3a79e2ec949f8fd3156749a0a283 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Dec 2014 19:37:57 +0100 Subject: 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. --- player/lua/osc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3