0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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.
This commit is contained in:
wm4 2014-12-02 19:37:57 +01:00
parent 29bc781b68
commit b6ca4a48e1

View File

@ -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