summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2015-08-28 07:49:24 +0000
committernicm <nicm>2015-08-28 07:49:24 +0000
commitfc58e44f89b876aa051f849361bc215c1f965696 (patch)
treeecdd2b832cde3428dc62ac3c98ff8cf96062dec1 /input.c
parent2ffbd5b5f05dded1564ba32a6a00b0b417439b2f (diff)
Only do the automatic-rename dance if the pane has changed (seen output,
or new active pane).
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input.c b/input.c
index 7a334810..7ec35c88 100644
--- a/input.c
+++ b/input.c
@@ -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;