Run session command before window in choose-tree.

This commit is contained in:
Nicholas Marriott 2013-02-13 11:05:10 +00:00
parent 362c460767
commit 6e03b50771

View File

@ -203,8 +203,8 @@ windows_only:
cur_win = idx_ses; cur_win = idx_ses;
} }
xasprintf(&final_win_action, "%s ; %s", win_action, xasprintf(&final_win_action, "%s ; %s",
wcd ? wcd->command : ""); wcd ? wcd->command : "", win_action);
if (win_ses != win_max) if (win_ses != win_max)
cur_win_template = final_win_template_middle; cur_win_template = final_win_template_middle;