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

Diff for /src/usr.bin/tmux/resize.c between version 1.36 and 1.37

version 1.36, 2019/11/29 16:04:07 version 1.37, 2020/01/28 08:06:11
Line 363 
Line 363 
          * client.           * client.
          */           */
         TAILQ_FOREACH(c, &clients, entry) {          TAILQ_FOREACH(c, &clients, entry) {
                   s = c->session;
                   if (s != NULL && !(c->flags & CLIENT_UNATTACHEDFLAGS))
                           s->attached++;
                 if (ignore_client_size(c))                  if (ignore_client_size(c))
                         continue;                          continue;
                 s = c->session;  
                 if (c->tty.sy <= s->statuslines || (c->flags & CLIENT_CONTROL))                  if (c->tty.sy <= s->statuslines || (c->flags & CLIENT_CONTROL))
                         c->flags |= CLIENT_STATUSOFF;                          c->flags |= CLIENT_STATUSOFF;
                 else                  else
                         c->flags &= ~CLIENT_STATUSOFF;                          c->flags &= ~CLIENT_STATUSOFF;
                 s->attached++;  
         }          }
   
         /* Walk each window and adjust the size. */          /* Walk each window and adjust the size. */

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37