diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 23:32:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 23:32:26 +0000 |
commit | 7ba01f68437e43538da1c7be96140709ddb00d77 (patch) | |
tree | bdafea75a00c8d03cb5a027d2b0472e76c1e798b /server-fn.c | |
parent | c3e049c5a9343138be44c9ab8f77c36293871424 (diff) |
New window command.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/server-fn.c b/server-fn.c index 7af77146..ca95da2c 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.14 2007-10-03 21:31:07 nicm Exp $ */ +/* $Id: server-fn.c,v 1.15 2007-10-03 23:32:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -138,18 +138,6 @@ server_write_clients( } } -/* Changed client window. */ -void -server_window_changed(struct client *c) -{ - struct window *w; - - w = c->session->window; - if (c->sx != w->screen.sx || c->sy != w->screen.sy) - window_resize(w, c->sx, c->sy); - server_draw_client(c); -} - /* Draw window on client. */ void server_draw_client(struct client *c) @@ -228,7 +216,7 @@ server_write_message(struct client *c, const char *fmt, ...) size = BUFFER_USED(c->out); input_store_zero(c->out, CODE_CURSOROFF); - input_store_two(c->out, CODE_CURSORMOVE, c->sy + status_lines, 1); + input_store_two(c->out, CODE_CURSORMOVE, c->sy, 1); input_store_two(c->out, CODE_ATTRIBUTES, ATTR_REVERSE, 0x88); va_start(ap, fmt); xvasprintf(&msg, fmt, ap); |