diff options
author | wm4 <wm4@nowhere> | 2014-12-02 19:37:57 +0100 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-12-07 23:50:41 +0100 |
commit | 9501050ddcdcda1f7801751dfcf069014020ed7b (patch) | |
tree | 5e71a56b62b15c45449ba2fe9305a2c717834ff7 /player/lua | |
parent | c688880f9e07b21fc0ec72e55bcc5ccabcf4cc63 (diff) | |
download | mpv-9501050ddcdcda1f7801751dfcf069014020ed7b.tar.bz2 mpv-9501050ddcdcda1f7801751dfcf069014020ed7b.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.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/osc.lua | 2 |
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 |