Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2015-12-15 14:01:12 +00:00
4 changed files with 79 additions and 12 deletions

View File

@ -281,7 +281,7 @@ server_client_detach(struct client *c, enum msgtype msgtype)
if (s == NULL)
return;
hooks_run(c->session->hooks, "client-detached", c);
hooks_run(c->session->hooks, c, "client-detached");
proc_send_s(c->peer, msgtype, s->name);
}
@ -1035,7 +1035,7 @@ server_client_dispatch(struct imsg *imsg, void *arg)
server_redraw_client(c);
}
if (c->session != NULL)
hooks_run(c->session->hooks, "client-resized", c);
hooks_run(c->session->hooks, c, "client-resized");
break;
case MSG_EXITING:
if (datalen != 0)