diff options
author | 2014-06-05 22:14:29 +0000 | |
---|---|---|
committer | 2014-06-05 22:14:29 +0000 | |
commit | b76d267f6a744119b57d3f9656cc79e8afbfa837 (patch) | |
tree | 6a3a1c60f54d52d1ac72240dc879ae491d63a312 /usr.bin/tmux/input.c | |
parent | Remove conditional pipeline rewind on 88100, introduced in 1.19 - this seems (diff) | |
download | wireguard-openbsd-b76d267f6a744119b57d3f9656cc79e8afbfa837.tar.xz wireguard-openbsd-b76d267f6a744119b57d3f9656cc79e8afbfa837.zip |
Reset properly when c0-change-trigger is increased from zero so panes
don't get stuck.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 389b5f3b5d2..cfda9d3dbb0 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.67 2014/04/17 12:43:38 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.68 2014/06/05 22:14:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1014,7 +1014,7 @@ input_c0_dispatch(struct input_ctx *ictx) count_c0: trigger = options_get_number(&wp->window->options, "c0-change-trigger"); - if (++wp->changes == trigger) { + if (trigger != 0 && ++wp->changes >= trigger) { wp->flags |= PANE_DROP; window_pane_timer_start(wp); } |