[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.38 and 1.39

version 1.38, 2020/01/28 13:23:24 version 1.39, 2020/05/16 15:45:29
Line 72 
Line 72 
                 return (1);                  return (1);
         if (c->flags & CLIENT_NOSIZEFLAGS)          if (c->flags & CLIENT_NOSIZEFLAGS)
                 return (1);                  return (1);
         if (c->flags & CLIENT_READONLY) {          if (c->flags & CLIENT_IGNORESIZE) {
                 /*                  /*
                  * Ignore readonly clients if there are any attached clients                   * Ignore flagged clients if there are any attached clients
                  * that aren't readonly.                   * that aren't flagged.
                  */                   */
                 TAILQ_FOREACH (loop, &clients, entry) {                  TAILQ_FOREACH (loop, &clients, entry) {
                         if (loop->session == NULL)                          if (loop->session == NULL)
                                 continue;                                  continue;
                         if (loop->flags & CLIENT_NOSIZEFLAGS)                          if (loop->flags & CLIENT_NOSIZEFLAGS)
                                 continue;                                  continue;
                         if (~loop->flags & CLIENT_READONLY)                          if (~loop->flags & CLIENT_IGNORESIZE)
                                 return (1);                                  return (1);
                 }                  }
         }          }

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39