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

Diff for /src/usr.bin/tmux/window.c between version 1.276 and 1.277

version 1.276, 2021/08/27 17:15:57 version 1.277, 2021/10/07 07:52:13
Line 1527 
Line 1527 
         size_t                           len = EVBUFFER_LENGTH(buffer);          size_t                           len = EVBUFFER_LENGTH(buffer);
   
         wp = window_pane_find_by_id(cdata->wp);          wp = window_pane_find_by_id(cdata->wp);
         if (wp == NULL || closed || error != 0 || c->flags & CLIENT_DEAD) {          if (wp == NULL || closed || error != 0 || (c->flags & CLIENT_DEAD)) {
                 if (wp == NULL)                  if (wp == NULL)
                         c->flags |= CLIENT_EXIT;                          c->flags |= CLIENT_EXIT;
   
Line 1553 
Line 1553 
                 *cause = xstrdup("pane is not empty");                  *cause = xstrdup("pane is not empty");
                 return (-1);                  return (-1);
         }          }
           if (c->flags & (CLIENT_DEAD|CLIENT_EXITED))
                   return (1);
           if (c->session != NULL)
                   return (1);
   
         cdata = xmalloc(sizeof *cdata);          cdata = xmalloc(sizeof *cdata);
         cdata->item = item;          cdata->item = item;

Legend:
Removed from v.1.276  
changed lines
  Added in v.1.277