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

Diff for /src/usr.bin/tmux/server-fn.c between version 1.14 and 1.15

version 1.14, 2009/08/11 17:18:35 version 1.15, 2009/08/31 20:46:19
Line 263 
Line 263 
         }          }
         recalculate_sizes();          recalculate_sizes();
 }  }
   
   void
   server_set_identify(struct client *c)
   {
           struct timeval  tv;
           int             delay;
   
           delay = options_get_number(&c->session->options, "display-panes-time");
           tv.tv_sec = delay / 1000;
           tv.tv_usec = (delay % 1000) * 1000L;
   
           if (gettimeofday(&c->identify_timer, NULL) != 0)
                   fatal("gettimeofday");
           timeradd(&c->identify_timer, &tv, &c->identify_timer);
   
           c->flags |= CLIENT_IDENTIFY;
           c->tty.flags |= (TTY_FREEZE|TTY_NOCURSOR);
           server_redraw_client(c);
   }
   
   void
   server_clear_identify(struct client *c)
   {
           if (c->flags & CLIENT_IDENTIFY) {
                   c->flags &= ~CLIENT_IDENTIFY;
                   c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR);
                   server_redraw_client(c);
           }
   }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15