From d9eb34b28dd9b446118911df5d161b817632093b Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 20 Jan 2012 21:18:39 +0000 Subject: Sync OpenBSD patchset 999: Add an option to disable the window rename escape sequence, from Romain Francoise. --- input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index 17307e97..bb23580c 100644 --- a/input.c +++ b/input.c @@ -1558,6 +1558,8 @@ input_exit_rename(struct input_ctx *ictx) { if (ictx->flags & INPUT_DISCARD) return; + if (!options_get_number(&ictx->wp->window->options, "allow-rename")) + return; log_debug("%s: \"%s\"", __func__, ictx->input_buf); xfree(ictx->wp->window->name); -- cgit