[BACK]Return to server.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server.c between version 1.31 and 1.32

version 1.31, 2009/09/07 21:01:50 version 1.32, 2009/09/07 21:12:12
Line 795 
Line 795 
 void  void
 server_handle_client(struct client *c)  server_handle_client(struct client *c)
 {  {
           struct window           *w;
         struct window_pane      *wp;          struct window_pane      *wp;
         struct screen           *s;          struct screen           *s;
         struct timeval           tv;          struct timeval           tv;
Line 818 
Line 819 
   
                 if (c->session == NULL)                  if (c->session == NULL)
                         return;                          return;
                 wp = c->session->curw->window->active;  /* could die */                  w = c->session->curw->window;
                   wp = w->active; /* could die */
   
                   /* Special case: number keys jump to pane in identify mode. */
                   if (c->flags & CLIENT_IDENTIFY && key >= '0' && key <= '9') {
                           wp = window_pane_at_index(w, key - '0');
                           if (wp != NULL && window_pane_visible(wp))
                                   window_set_active_pane(w, wp);
                           server_clear_identify(c);
                           continue;
                   }
   
                 status_message_clear(c);                  status_message_clear(c);
                 server_clear_identify(c);                  server_clear_identify(c);
                 if (c->prompt_string != NULL) {                  if (c->prompt_string != NULL) {

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32