# cmd_resize_pane_mouse_update

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L141
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update/

```c
static void cmd_resize_pane_mouse_update(struct client *, struct mouse_event *)
```

## Parameters

- `c` (`struct client *`)
- `m` (`struct mouse_event *`)

## Called by

- [`cmd_resize_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L84)

## Calls

- [`cmd_mouse_window`](/en/tmux/3.2a/reference/c-function-cmd_mouse_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L153)
- [`layout_resize_layout`](/en/tmux/3.2a/reference/c-function-layout_resize_layout/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L195)
- [`layout_search_by_border`](/en/tmux/3.2a/reference/c-function-layout_search_by_border/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L172)
- [`server_redraw_window`](/en/tmux/3.2a/reference/c-function-server_redraw_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L203)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/3.2a/reference/c-struct-layout_cell-cells/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`window.layout_root`](/en/tmux/3.2a/reference/c-struct-window-layout_root/) (attribute)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`mouse_event.lx`](/en/tmux/3.2a/reference/c-struct-mouse_event-lx/) (attribute)
- [`mouse_event.ly`](/en/tmux/3.2a/reference/c-struct-mouse_event-ly/) (attribute)
- [`tty.mouse_drag_update`](/en/tmux/3.2a/reference/c-struct-tty-mouse_drag_update/) (attribute)
- [`mouse_event`](/en/tmux/3.2a/reference/c-struct-mouse_event/) (struct)
- [`nitems`](/en/tmux/3.2a/reference/c-define-tmux-h-nitems/) (constant)
- [`mouse_event.ox`](/en/tmux/3.2a/reference/c-struct-mouse_event-ox/) (attribute)
- [`mouse_event.oy`](/en/tmux/3.2a/reference/c-struct-mouse_event-oy/) (attribute)
- [`mouse_event.statusat`](/en/tmux/3.2a/reference/c-struct-mouse_event-statusat/) (attribute)
- [`mouse_event.statuslines`](/en/tmux/3.2a/reference/c-struct-mouse_event-statuslines/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`layout_cell.type`](/en/tmux/3.2a/reference/c-struct-layout_cell-type/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`mouse_event.x`](/en/tmux/3.2a/reference/c-struct-mouse_event-x/) (attribute)
- [`mouse_event.y`](/en/tmux/3.2a/reference/c-struct-mouse_event-y/) (attribute)
