[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.42 and 1.43

version 1.42, 2009/09/23 08:21:57 version 1.43, 2009/09/24 07:02:56
Line 1194 
Line 1194 
         t = time(NULL);          t = time(NULL);
   
         xtimeout = options_get_number(&global_s_options, "lock-after-time");          xtimeout = options_get_number(&global_s_options, "lock-after-time");
         if (xtimeout > 0 && t > server_activity + xtimeout)          if (xtimeout > 0 && t > server_activity + xtimeout) {
                 server_lock();                  server_lock();
                   recalculate_sizes();
           }
   
         for (i = 0; i < ARRAY_LENGTH(&windows); i++) {          for (i = 0; i < ARRAY_LENGTH(&windows); i++) {
                 w = ARRAY_ITEM(&windows, i);                  w = ARRAY_ITEM(&windows, i);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43