diff options
author | nicm <nicm> | 2016-09-28 08:30:44 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-09-28 08:30:44 +0000 |
commit | acacb718e5452bfdba4810007d5a10eace1a9fec (patch) | |
tree | afd9330825aebdc0705562f8e781ef98b991c98b /tmux.h | |
parent | 69e980602b31732348aaceee045a1901dc982d78 (diff) | |
download | rtmux-acacb718e5452bfdba4810007d5a10eace1a9fec.tar.gz rtmux-acacb718e5452bfdba4810007d5a10eace1a9fec.tar.bz2 rtmux-acacb718e5452bfdba4810007d5a10eace1a9fec.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -894,6 +894,8 @@ struct window_pane { int fd; struct bufferevent *event; + struct event resize_timer; + u_int wmark_size; u_int wmark_hits; |