From 6e03b50771134b68bf2c96d547ebe0fff675a84e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 13 Feb 2013 11:05:10 +0000 Subject: [PATCH] Run session command before window in choose-tree. --- cmd-choose-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c index e12e4c30..51a329ec 100644 --- a/cmd-choose-tree.c +++ b/cmd-choose-tree.c @@ -203,8 +203,8 @@ windows_only: cur_win = idx_ses; } - xasprintf(&final_win_action, "%s ; %s", win_action, - wcd ? wcd->command : ""); + xasprintf(&final_win_action, "%s ; %s", + wcd ? wcd->command : "", win_action); if (win_ses != win_max) cur_win_template = final_win_template_middle;