Move sx,sy into tty rather than client.

This commit is contained in:
Nicholas Marriott
2009-02-11 17:50:36 +00:00
parent 65378588ac
commit 03d531ebc6
9 changed files with 68 additions and 68 deletions

8
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.267 2009-02-11 17:04:39 nicm Exp $ */
/* $Id: tmux.h,v 1.268 2009-02-11 17:50:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -712,6 +712,9 @@ SLIST_HEAD(tty_terms, tty_term);
struct tty {
char *path;
u_int sx;
u_int sy;
u_int cx;
u_int cy;
@ -762,9 +765,6 @@ struct client {
struct timeval status_timer;
struct timeval repeat_timer;
u_int sx;
u_int sy;
struct screen status;
#define CLIENT_TERMINAL 0x1