Reset OS window class and name for new single instance OS windows
This commit is contained in:
parent
87b218a40d
commit
c194dbc9ef
2 changed files with 5 additions and 0 deletions
|
|
@ -131,6 +131,8 @@ Detailed list of changes
|
|||
- Single instance: Preserve environment variables from invoking environment in
|
||||
newly created window (:disc:`8567`)
|
||||
|
||||
- Single instance: Reset OS Window class and name in new single instance OS
|
||||
windows (:disc:`8567`)
|
||||
|
||||
0.41.1 [2025-04-03]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -273,6 +273,9 @@ def create_sessions(
|
|||
current_layout = opts.enabled_layouts[0] if opts.enabled_layouts else 'tall'
|
||||
ans.add_tab(opts)
|
||||
ans.tabs[-1].layout = current_layout
|
||||
if args is not None:
|
||||
ans.os_window_class = args.cls
|
||||
ans.os_window_name = args.name
|
||||
if special_window is None:
|
||||
cmd = args.args if args and args.args else resolved_shell(opts)
|
||||
from kitty.tabs import SpecialWindow
|
||||
|
|
|
|||
Loading…
Reference in a new issue