diff --git a/cmd-find.c b/cmd-find.c index 569f6f91..e3b4a91f 100644 --- a/cmd-find.c +++ b/cmd-find.c @@ -890,7 +890,7 @@ cmd_find_from_client(struct cmd_find_state *fs, struct client *c) } if (wl != NULL) { fs->s = s; - fs->wl = s->curw; /* use active session */ + fs->wl = s->curw; /* use current session */ fs->w = fs->wl->window; fs->wp = fs->w->active; /* use active pane */