aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-05-31 10:29:15 +0000
committernicm <nicm>2017-05-31 10:29:15 +0000
commitea6428a5d2c3c753c3123b3ecace7357e97eae50 (patch)
treef0c99d2984c95ee5198b0f2a4b4c2d75dd645eb1 /tmux.h
parent80c6b487dc05662efd675695b7db93563e582f7c (diff)
downloadrtmux-ea6428a5d2c3c753c3123b3ecace7357e97eae50.tar.gz
rtmux-ea6428a5d2c3c753c3123b3ecace7357e97eae50.tar.bz2
rtmux-ea6428a5d2c3c753c3123b3ecace7357e97eae50.zip
It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size has
unchanged, because it may have changed and changed back in the time between us getting the signal and calling ioctl(). Always redraw when we see SIGWINCH.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index f56f3b1b..79ae8ddc 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1661,8 +1661,8 @@ void tty_puts(struct tty *, const char *);
void tty_putc(struct tty *, u_char);
void tty_putn(struct tty *, const void *, size_t, u_int);
int tty_init(struct tty *, struct client *, int, char *);
-int tty_resize(struct tty *);
-int tty_set_size(struct tty *, u_int, u_int);
+void tty_resize(struct tty *);
+void tty_set_size(struct tty *, u_int, u_int);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);