diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-10-15 01:30:00 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-10-15 01:30:00 +0000 |
commit | 8bdcc10c8f08dd14797c0e49c18809aff60a2390 (patch) | |
tree | 4d1ab528e4bb68a2c3dca9d615dbc604120f7711 /server.c | |
parent | 6369fca253fe4e289cbf0a1b8e1c5b52d7875e80 (diff) | |
download | rtmux-8bdcc10c8f08dd14797c0e49c18809aff60a2390.tar.gz rtmux-8bdcc10c8f08dd14797c0e49c18809aff60a2390.tar.bz2 rtmux-8bdcc10c8f08dd14797c0e49c18809aff60a2390.zip |
Sync OpenBSD patchset 393:
Similarly add a tty_cursor_pane function to tidy up most of the calls.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.208 2009-10-15 01:28:14 tcunha Exp $ */ +/* $Id: server.c,v 1.209 2009-10-15 01:30:00 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1057,9 +1057,9 @@ server_handle_client(struct client *c) status = options_get_number(oo, "status"); if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - status) - tty_cursor(&c->tty, 0, 0, 0, 0); + tty_cursor(&c->tty, 0, 0); else - tty_cursor(&c->tty, s->cx, s->cy, wp->xoff, wp->yoff); + tty_cursor(&c->tty, wp->xoff + s->cx, wp->yoff + s->cy); mode = s->mode; if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL && |