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.
This commit is contained in:
nicm
2019-08-28 07:34:32 +00:00
parent 39c55d5b6f
commit df0334d3b3
3 changed files with 46 additions and 32 deletions

View File

@ -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);
}
/*