diff --git a/cmd-rename-window.c b/cmd-rename-window.c index 3393fb86..4d2ebb75 100644 --- a/cmd-rename-window.c +++ b/cmd-rename-window.c @@ -46,7 +46,7 @@ static enum cmd_retval cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; - struct client *c = cmd_find_client(item, NULL, 0); + struct client *c = cmd_find_client(item, NULL, 1); struct session *s = item->target.s; struct winlink *wl = item->target.wl; char *newname;