# window_buffer_resize

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L411
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-buffer-c-window_buffer_resize/

```c
static void window_buffer_resize(struct window_mode_entry *, u_int, u_int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `sx` (`u_int`)
- `sy` (`u_int`)

## Calls

- [`mode_tree_resize`](/en/tmux/latest/reference/c-function-mode_tree_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L415)

## Referenced by

- [`window_buffer_mode`](/en/tmux/latest/reference/c-variable-window_buffer_mode/) (attribute)

## Referenced declarations

- [`window_buffer_modedata.data`](/en/tmux/latest/reference/c-struct-window_buffer_modedata-data/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
