diff --git a/data/core/init.lua b/data/core/init.lua index 5ba0f005..a9aa6a0e 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -400,10 +400,10 @@ function core.step() -- update window title local name = core.active_view:get_name() - if name ~= "---" then - system.set_window_title(name .. " - lite") - else - system.set_window_title("lite") + local title = (name ~= "---") and (name .. " - lite") or "lite" + if title ~= core.window_title then + system.set_window_title(title) + core.window_title = title end -- draw