Skip to content

Commit f9a5155

Browse files
committed
set active window
1 parent b776ab3 commit f9a5155

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tmuxp/workspacebuilder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ def freeze(session):
287287
wconf['window_name'] = w.get('window_name')
288288
wconf['layout'] = w.get('window_layout')
289289
wconf['panes'] = []
290+
if w.get('window_active', '0') == '1':
291+
wconf['focus']='true'
290292

291293
# If all panes have same path, set 'start_directory' instead
292294
# of using 'cd' shell commands.

0 commit comments

Comments
 (0)