Store xpixel/ypixel from TIOCGWINSZ and add formats.

This commit is contained in:
nicm
2019-11-28 09:05:34 +00:00
parent 7fb8eec8f1
commit 067604bf8c
5 changed files with 26 additions and 9 deletions

4
tmux.h
View File

@ -1148,6 +1148,8 @@ struct tty {
u_int sx;
u_int sy;
u_int xpixel;
u_int ypixel;
u_int cx;
u_int cy;
@ -1927,7 +1929,7 @@ 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 *);
void tty_resize(struct tty *);
void tty_set_size(struct tty *, u_int, u_int);
void tty_set_size(struct tty *, u_int, u_int, u_int, u_int);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);