Sync OpenBSD patchset 392:

_absolute is redundant, just use tty_region.
This commit is contained in:
Tiago Cunha
2009-10-15 01:28:14 +00:00
parent 9b771a96f0
commit 6369fca253
3 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server.c,v 1.207 2009-10-15 01:26:50 tcunha Exp $ */
/* $Id: server.c,v 1.208 2009-10-15 01:28:14 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1053,7 +1053,7 @@ server_handle_client(struct client *c)
* tty_region/tty_reset/tty_update_mode already take care of not
* resetting things that are already in their default state.
*/
tty_region_absolute(&c->tty, 0, c->tty.sy - 1);
tty_region(&c->tty, 0, c->tty.sy - 1);
status = options_get_number(oo, "status");
if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - status)