[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.50 and 1.51

version 1.50, 2015/12/07 09:47:41 version 1.51, 2015/12/08 01:10:31
Line 108 
Line 108 
                         TAILQ_FOREACH(c_loop, &clients, entry) {                          TAILQ_FOREACH(c_loop, &clients, entry) {
                                 if (c_loop->session != s || c == c_loop)                                  if (c_loop->session != s || c == c_loop)
                                         continue;                                          continue;
                                 proc_send_s(c_loop->peer, MSG_DETACH, s->name);                                  server_client_detach(c, MSG_DETACH);
                         }                          }
                 }                  }
   
Line 139 
Line 139 
                         TAILQ_FOREACH(c_loop, &clients, entry) {                          TAILQ_FOREACH(c_loop, &clients, entry) {
                                 if (c_loop->session != s || c == c_loop)                                  if (c_loop->session != s || c == c_loop)
                                         continue;                                          continue;
                                 proc_send_s(c_loop->peer, MSG_DETACH, s->name);                                  server_client_detach(c_loop, MSG_DETACH);
                         }                          }
                 }                  }
   
Line 159 
Line 159 
   
                 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, "client-attached", c);
                 cmdq->client_exit = 0;                  cmdq->client_exit = 0;
         }          }
         recalculate_sizes();          recalculate_sizes();

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51