Forgot to apply --title on creation of subsequent OS windows

Also update changelog
This commit is contained in:
Kovid Goyal 2020-04-19 08:42:30 +05:30
parent 85c40090ed
commit 948919e42b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Fix a regression in 0.17 that broke displaying graphics over SSH - Fix a regression in 0.17 that broke displaying graphics over SSH
(:iss:`2568`) (:iss:`2568`)
- Fix :option:`--title` not being applied at window creation time (:iss:`2570`)
0.17.2 [2020-03-29] 0.17.2 [2020-03-29]
-------------------- --------------------

View File

@ -198,7 +198,7 @@ class Boss:
os_window_id = create_os_window( os_window_id = create_os_window(
initial_window_size_func(opts_for_size, self.cached_values), initial_window_size_func(opts_for_size, self.cached_values),
pre_show_callback, 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) tm = TabManager(os_window_id, self.opts, self.args, startup_session)
self.os_window_map[os_window_id] = tm self.os_window_map[os_window_id] = tm
return os_window_id return os_window_id