diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-08-28 07:49:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-08-28 07:49:25 +0000 |
commit | 158c758daaf79bc290f2f874b8546c10783f5c64 (patch) | |
tree | 32ed5c219bb8adfd2f9139565abc28c25da84619 /usr.bin/tmux/input.c | |
parent | 7b8fc810f571a0f740104617fd3c1863a8ef1dd6 (diff) |
Only do the automatic-rename dance if the pane has changed (seen output,
or new active pane).
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <nicm@users.sourceforge.net> @@ -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; |