From 948919e42bd3095cbd9442f52e1e4d568022efeb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 19 Apr 2020 08:42:30 +0530 Subject: [PATCH] Forgot to apply --title on creation of subsequent OS windows Also update changelog --- docs/changelog.rst | 1 + kitty/boss.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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