[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.17 and 1.18

version 1.17, 2013/03/22 10:37:39 version 1.18, 2013/03/24 09:57:59
Line 374 
Line 374 
 }  }
   
 void  void
 layout_init(struct window *w)  layout_init(struct window *w, struct window_pane *wp)
 {  {
         struct layout_cell      *lc;          struct layout_cell      *lc;
   
         lc = w->layout_root = layout_create_cell(NULL);          lc = w->layout_root = layout_create_cell(NULL);
         layout_set_size(lc, w->sx, w->sy, 0, 0);          layout_set_size(lc, w->sx, w->sy, 0, 0);
         layout_make_leaf(lc, TAILQ_FIRST(&w->panes));          layout_make_leaf(lc, wp);
   
         layout_fix_panes(w, w->sx, w->sy);          layout_fix_panes(w, w->sx, w->sy);
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18