version 1.64, 2016/10/16 19:04:05 |
version 1.65, 2016/10/16 22:06:40 |
|
|
c->session = s; |
c->session = s; |
server_client_set_key_table(c, NULL); |
server_client_set_key_table(c, NULL); |
status_timer_start(c); |
status_timer_start(c); |
notify_attached_session_changed(c); |
notify_client("client-session-changed", c); |
session_update_activity(s, NULL); |
session_update_activity(s, NULL); |
gettimeofday(&s->last_attached_time, NULL); |
gettimeofday(&s->last_attached_time, NULL); |
server_redraw_client(c); |
server_redraw_client(c); |
|
|
c->session = s; |
c->session = s; |
server_client_set_key_table(c, NULL); |
server_client_set_key_table(c, NULL); |
status_timer_start(c); |
status_timer_start(c); |
notify_attached_session_changed(c); |
notify_client("client-session-changed", c); |
session_update_activity(s, NULL); |
session_update_activity(s, NULL); |
gettimeofday(&s->last_attached_time, NULL); |
gettimeofday(&s->last_attached_time, NULL); |
server_redraw_client(c); |
server_redraw_client(c); |
|
|
|
|
if (~c->flags & CLIENT_CONTROL) |
if (~c->flags & CLIENT_CONTROL) |
proc_send(c->peer, MSG_READY, -1, NULL, 0); |
proc_send(c->peer, MSG_READY, -1, NULL, 0); |
hooks_run(c->session->hooks, c, NULL, "client-attached"); |
notify_client("client-attached", c); |
c->flags |= CLIENT_ATTACHED; |
c->flags |= CLIENT_ATTACHED; |
} |
} |
recalculate_sizes(); |
recalculate_sizes(); |