From acacb718e5452bfdba4810007d5a10eace1a9fec Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 28 Sep 2016 08:30:44 +0000 Subject: Rate limit TIOCSWINSZ on a timer to avoid programs getting hammered with SIGWINCH when the size changes rapidly. To help a problem reported by Rui Pinheiro. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 528b0b7b..46e35aab 100644 --- a/tmux.h +++ b/tmux.h @@ -894,6 +894,8 @@ struct window_pane { int fd; struct bufferevent *event; + struct event resize_timer; + u_int wmark_size; u_int wmark_hits; -- cgit