# layout_resize_child_cells

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L935
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-layout-c-layout_resize_child_cells/

```c
static void layout_resize_child_cells(struct window *, struct layout_cell *)
```

## Parameters

- `w` (`struct window *`)
- `lc` (`struct layout_cell *`)

## Called by

- [`layout_resize_child_cells`](/en/tmux/latest/reference/c-function-layout-c-layout_resize_child_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L985)
- [`layout_split_pane`](/en/tmux/latest/reference/c-function-layout_split_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1093)

## Calls

- [`layout_new_pane_size`](/en/tmux/latest/reference/c-function-layout-c-layout_new_pane_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L973)
- [`layout_resize_child_cells`](/en/tmux/latest/reference/c-function-layout-c-layout_resize_child_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L985)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/latest/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell.entry`](/en/tmux/latest/reference/c-struct-layout_cell-entry/) (attribute)
- [`layout_cell.flags`](/en/tmux/latest/reference/c-struct-layout_cell-flags/) (attribute)
- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`LAYOUT_CELL_FLOATING`](/en/tmux/latest/reference/c-define-tmux-h-layout_cell_floating/) (constant)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/latest/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/latest/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`LAYOUT_WINDOWPANE`](/en/tmux/latest/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`layout_cell.sx`](/en/tmux/latest/reference/c-struct-layout_cell-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/latest/reference/c-struct-layout_cell-sy/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
- [`layout_cell.xoff`](/en/tmux/latest/reference/c-struct-layout_cell-xoff/) (attribute)
- [`layout_cell.yoff`](/en/tmux/latest/reference/c-struct-layout_cell-yoff/) (attribute)
