summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 19:03:52 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 19:03:52 +0000
commit1f9a8e70d90265de8a3e1b0a981d3ef5b1352e52 (patch)
tree018210dd36bc8ec617921a75f2928aff488327e5 /screen.c
parent418fb3938d2e8da39a4776d01ff3f65aca2c686f (diff)
Incomplete resize support.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 5d81afd8..559a3fa8 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.19 2007-10-01 14:18:42 nicm Exp $ */
+/* $Id: screen.c,v 1.20 2007-10-04 19:03:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -87,6 +87,9 @@ screen_resize(struct screen *s, u_int sx, u_int sy)
s->sx = sx;
s->sy = sy;
+ s->ry_upper = 0;
+ s->ry_lower = screen_last_y(s);
+
log_debug("resizing screen (%u, %u) -> (%u, %u)", ox, oy, sx, sy);
if (sy < oy) {