From 158c758daaf79bc290f2f874b8546c10783f5c64 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 28 Aug 2015 07:49:25 +0000 Subject: Only do the automatic-rename dance if the pane has changed (seen output, or new active pane). --- usr.bin/tmux/input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/input.c') diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 270a7228a1e..5d8fa7f2f2d 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.81 2015/08/25 15:00:05 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.82 2015/08/28 07:49:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -844,6 +844,8 @@ input_parse(struct window_pane *wp) if (EVBUFFER_LENGTH(evb) == 0) return; + wp->flags |= PANE_CHANGED; + wp->window->flags |= WINDOW_ACTIVITY; wp->window->flags &= ~WINDOW_SILENCE; -- cgit v1.2.3