diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 17:50:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 17:50:36 +0000 |
commit | 03d531ebc6058f0c3d4f5d2a5471255d23c0b93e (patch) | |
tree | 7d4f79ccbee7673ee6fea28ab9c91e8e8803655b /resize.c | |
parent | 65378588acc59fe1cf5121dc41aa782812b8033d (diff) | |
download | rtmux-03d531ebc6058f0c3d4f5d2a5471255d23c0b93e.tar.gz rtmux-03d531ebc6058f0c3d4f5d2a5471255d23c0b93e.tar.bz2 rtmux-03d531ebc6058f0c3d4f5d2a5471255d23c0b93e.zip |
Move sx,sy into tty rather than client.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: resize.c,v 1.18 2009-01-11 23:31:46 nicm Exp $ */ +/* $Id: resize.c,v 1.19 2009-02-11 17:50:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -62,10 +62,10 @@ recalculate_sizes(void) if (c == NULL) continue; if (c->session == s) { - if (c->sx < ssx) - ssx = c->sx; - if (c->sy < ssy) - ssy = c->sy; + if (c->tty.sx < ssx) + ssx = c->tty.sx; + if (c->tty.sy < ssy) + ssy = c->tty.sy; } } if (ssx == UINT_MAX || ssy == UINT_MAX) { |