summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2019-08-28 07:34:32 +0000
committernicm <nicm>2019-08-28 07:34:32 +0000
commitdf0334d3b397de03a81411f1101a8e82a55b9be9 (patch)
treecfedad4e0309bb39d6f1dbb43d0f547c4def4e7b /window.c
parent39c55d5b6fcafd9476528ebc1064192c90f559a4 (diff)
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.
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*