[BACK]Return to cmd-attach-session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-attach-session.c between version 1.64 and 1.65

version 1.64, 2016/10/16 19:04:05 version 1.65, 2016/10/16 22:06:40
Line 105 
Line 105 
                 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);
Line 137 
Line 137 
                 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);
Line 145 
Line 145 
   
                 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();

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65