From df0334d3b397de03a81411f1101a8e82a55b9be9 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 28 Aug 2019 07:34:32 +0000 Subject: The resize event was never deciding to actually resize the pane if there was output in the pane faster than the timer would fire, so change how it works to only defer the timer again if the pane was actually resized within the last timer period. Reported by James Tai in GitHub issue 1880. --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.c') diff --git a/window.c b/window.c index bf4fbb70..0b691197 100644 --- a/window.c +++ b/window.c @@ -953,7 +953,7 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy) if (wme != NULL && wme->mode->resize != NULL) wme->mode->resize(wme, sx, sy); - wp->flags |= PANE_RESIZE; + wp->flags |= (PANE_RESIZE|PANE_RESIZED); } /* -- cgit