diff --git a/docs/changelog.rst b/docs/changelog.rst index df824a1f3..5e4841f32 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -46,6 +46,7 @@ To update |kitty|, :doc:`follow the instructions `. - Fix a regression in 0.17 that broke displaying graphics over SSH (:iss:`2568`) +- Fix :option:`--title` not being applied at window creation time (:iss:`2570`) 0.17.2 [2020-03-29] -------------------- diff --git a/kitty/boss.py b/kitty/boss.py index 113497585..0a2afa905 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -198,7 +198,7 @@ class Boss: os_window_id = create_os_window( initial_window_size_func(opts_for_size, self.cached_values), pre_show_callback, - appname, wname or self.args.name or wclass, wclass) + self.args.title or appname, wname or self.args.name or wclass, wclass) tm = TabManager(os_window_id, self.opts, self.args, startup_session) self.os_window_map[os_window_id] = tm return os_window_id