Next/last/previous window, some other tweaks.

This commit is contained in:
Nicholas Marriott
2007-10-04 00:02:10 +00:00
parent 7ba01f6843
commit 815815989a
12 changed files with 278 additions and 123 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server-msg.c,v 1.21 2007-10-03 23:32:26 nicm Exp $ */
/* $Id: server-msg.c,v 1.22 2007-10-04 00:02:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -123,7 +123,7 @@ server_msg_fn_command(struct hdr *hdr, struct client *c)
else {
ctx.session = server_find_sessid(&data.sid, &cause);
if (ctx.session == NULL) {
server_write_error(c, "%s", cause);
server_msg_fn_command_error(&ctx, "%s", cause);
xfree(cause);
return (0);
}
@ -212,7 +212,7 @@ server_msg_fn_keys(struct hdr *hdr, struct client *c)
fatalx("bad MSG_KEYS size");
if (c->flags & CLIENT_HOLD) {
server_draw_client(c);
server_redraw_client(c);
c->flags &= ~CLIENT_HOLD;
}