summaryrefslogtreecommitdiffstats
path: root/cmd-find-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-find-window.c')
-rw-r--r--cmd-find-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-find-window.c b/cmd-find-window.c
index c29878b5..774c0bb9 100644
--- a/cmd-find-window.c
+++ b/cmd-find-window.c
@@ -116,7 +116,8 @@ cmd_find_window_exec(struct cmd *self, struct cmdq_item *item)
args_set(new_args, 'Z', NULL);
args_set(new_args, 'f', filter);
- window_pane_set_mode(wp, &window_tree_mode, &item->target, new_args);
+ window_pane_set_mode(wp, NULL, &window_tree_mode, &item->target,
+ new_args);
args_free(new_args);
free(filter);