diff options
Diffstat (limited to 'cmd-choose-tree.c')
-rw-r--r-- | cmd-choose-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c index 823d0423..0b0fea6a 100644 --- a/cmd-choose-tree.c +++ b/cmd-choose-tree.c @@ -87,7 +87,7 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_q *cmdq) ses_template = win_template = NULL; ses_action = win_action = NULL; - if ((c = cmd_current_client(cmdq)) == NULL) { + if ((c = cmd_find_client(cmdq, NULL, 1)) == NULL) { cmdq_error(cmdq, "no client available"); return (CMD_RETURN_ERROR); } |