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

Diff for /src/usr.bin/tmux/layout-custom.c between version 1.13 and 1.14

version 1.13, 2019/06/12 08:08:33 version 1.14, 2019/06/15 06:33:48
Line 122 
Line 122 
 {  {
         struct layout_cell      *lc, *lcchild;          struct layout_cell      *lc, *lcchild;
         struct window_pane      *wp;          struct window_pane      *wp;
         u_int                    npanes, ncells, sx, sy;          u_int                    npanes, ncells;
         u_short                  csum;          u_short                  csum;
   
         /* Check validity. */          /* Check validity. */
Line 153 
Line 153 
                 layout_destroy_cell(w, lcchild, &lc);                  layout_destroy_cell(w, lcchild, &lc);
         }          }
   
         /* Save the old window size and resize to the layout size. */          /* Resize to the layout size. */
         sx = w->sx; sy = w->sy;  
         window_resize(w, lc->sx, lc->sy);          window_resize(w, lc->sx, lc->sy);
   
         /* Destroy the old layout and swap to the new. */          /* Destroy the old layout and swap to the new. */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14