osc: full reinit on runtime option changes

Fuck it, just let's just reinit everything.

On a side note, the changelist parameter provided by read_options()
(here "list") is now unused. But it's not hard to provide and might be
useful for other stuff. So don't remove it from the generic
read_options() code.
This commit is contained in:
wm4 2019-12-22 12:32:50 +01:00
parent 00af718a9e
commit 12843dcea1
1 changed files with 2 additions and 3 deletions

View File

@ -1642,9 +1642,8 @@ end
function update_options(list)
validate_user_opts()
request_tick()
if list["visibility"] then
visibility_mode(user_opts.visibility, true)
end
visibility_mode(user_opts.visibility, true)
request_init()
end
-- OSC INIT