# layout_resize_layout

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

```c
void layout_resize_layout(struct window *w, struct layout_cell *lc, enum layout_type type, int change, int opposite)
```

## Parameters

- `w` (`struct window *`)
- `lc` (`struct layout_cell *`)
- `type` (`enum layout_type`)
- `change` (`int`)
- `opposite` (`int`)

## Called by

- [`cmd_resize_pane_mouse_update_tiled`](/en/tmux/3.7c/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update_tiled/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-pane.c#L355)
- [`layout_resize_pane`](/en/tmux/3.7c/reference/c-function-layout_resize_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L750)

## Calls

- [`layout_fix_offsets`](/en/tmux/3.7c/reference/c-function-layout_fix_offsets/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L723)
- [`layout_fix_panes`](/en/tmux/3.7c/reference/c-function-layout_fix_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L724)
- [`layout_resize_pane_grow`](/en/tmux/3.7c/reference/c-function-layout-c-layout_resize_pane_grow/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L710)
- [`layout_resize_pane_shrink`](/en/tmux/3.7c/reference/c-function-layout-c-layout_resize_pane_shrink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L714)
- [`notify_window`](/en/tmux/3.7c/reference/c-function-notify_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L725)

## Referenced declarations

- [`layout_cell`](/en/tmux/3.7c/reference/c-struct-layout_cell/) (struct)
- [`layout_type`](/en/tmux/3.7c/reference/c-enum-layout_type/) (enum)
- [`layout_cell.type`](/en/tmux/3.7c/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
