mirror of https://github.com/mpv-player/mpv
daa125cb45
Currently, the activation and deactivation of input handling is done inside the render() loop, but this does not run when the osc mode is `never` - which does make sense. That means that if you are cycling the visibility mode, the input state will be whatever it was at the time of the mode change. And, as our modes are ordered `auto` -> `always` -> `never`, the input state will be enabled when you cycle to `never`. There are various ways you can imagine fixing this, and in this change I propose we reset the input state to disabled on a mode change, and then let render() re-enable input if that's appropriate. Fixes #7298. |
||
---|---|---|
.. | ||
assdraw.lua | ||
console.lua | ||
defaults.lua | ||
options.lua | ||
osc.lua | ||
stats.lua | ||
ytdl_hook.lua |