mpv/player/lua
Philip Langdale daa125cb45 osc: reset input handling state on a change in visibility mode
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.
2020-01-02 07:32:57 -08:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
console.lua console: add a basic help command 2019-12-24 16:08:04 +01:00
defaults.lua lua: fix guard against division by 0 2019-12-23 16:10:06 +01:00
options.lua lua: change runtime option change behavior 2019-12-22 12:30:53 +01:00
osc.lua osc: reset input handling state on a change in visibility mode 2020-01-02 07:32:57 -08:00
stats.lua stats: do not use "tick" event 2019-12-24 16:02:24 +01:00
ytdl_hook.lua ytdl_hook: --vid=no should not ignore --ytdl-format in config file 2019-10-24 13:52:09 +02:00