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

Diff for /src/usr.bin/tmux/layout.c between version 1.44 and 1.45

version 1.44, 2019/06/26 13:03:47 version 1.45, 2019/06/26 18:44:22
Line 272 
Line 272 
                 wp->xoff = lc->xoff;                  wp->xoff = lc->xoff;
                 wp->yoff = lc->yoff;                  wp->yoff = lc->yoff;
   
                 if (shift && status == 1)                  if (shift && status == PANE_STATUS_TOP)
                         wp->yoff += 1;                          wp->yoff += 1;
   
                 window_pane_resize(wp, lc->sx, lc->sy - shift);                  window_pane_resize(wp, lc->sx, lc->sy - shift);
Line 1021 
Line 1021 
   
         number = 0;          number = 0;
         TAILQ_FOREACH (lc, &parent->cells, entry)          TAILQ_FOREACH (lc, &parent->cells, entry)
             number++;                  number++;
         if (number <= 1)          if (number <= 1)
                 return (0);                  return (0);
         status = options_get_number(w->options, "pane-border-status");          status = options_get_number(w->options, "pane-border-status");

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45