diff options
author | nicm <nicm> | 2018-03-23 19:17:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-03-23 19:17:03 +0000 |
commit | 194e9f611bf275ec36e50c82cca129cde7e9eb18 (patch) | |
tree | 1deac7cecc15c014dcc45e35f491c8562f6930b1 /cmd-rename-window.c | |
parent | 26792b90357213b98a990b97fd6dc4333a00adcb (diff) | |
download | rtmux-194e9f611bf275ec36e50c82cca129cde7e9eb18.tar.gz rtmux-194e9f611bf275ec36e50c82cca129cde7e9eb18.tar.bz2 rtmux-194e9f611bf275ec36e50c82cca129cde7e9eb18.zip |
Fix a regression: do not warn about no client in rename-window.
Diffstat (limited to 'cmd-rename-window.c')
-rw-r--r-- | cmd-rename-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |