Reset properly when c0-change-trigger is increased from zero so panes

don't get stuck.
This commit is contained in:
nicm 2014-06-05 22:14:29 +00:00
parent 193b6bcf36
commit 74becbfd6f

View File

@ -877,7 +877,6 @@ window_pane_timer_callback(unused int fd, unused short events, void *data)
if (wp->changes_redraw++ == interval) { if (wp->changes_redraw++ == interval) {
wp->flags |= PANE_REDRAW; wp->flags |= PANE_REDRAW;
wp->changes_redraw = 0; wp->changes_redraw = 0;
} }
if (trigger == 0 || wp->changes < trigger) { if (trigger == 0 || wp->changes < trigger) {