# server_redraw_window

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L94
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-server_redraw_window/

```c
void server_redraw_window(struct window *w)
```

## Parameters

- `w` (`struct window *`)

## Called by

- [`cmd_join_pane_exec`](/en/tmux/latest/reference/c-function-cmd-join-pane-c-cmd_join_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-join-pane.c#L123)
- [`cmd_kill_pane_exec`](/en/tmux/latest/reference/c-function-cmd-kill-pane-c-cmd_kill_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-kill-pane.c#L61)
- [`cmd_resize_pane_exec`](/en/tmux/latest/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-pane.c#L87)
- [`cmd_resize_pane_mouse_update_floating`](/en/tmux/latest/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update_floating/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-pane.c#L295)
- [`cmd_resize_pane_mouse_update_tiled`](/en/tmux/latest/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#L363)
- [`cmd_respawn_window_exec`](/en/tmux/latest/reference/c-function-cmd-respawn-window-c-cmd_respawn_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-respawn-window.c#L89)
- [`cmd_rotate_window_exec`](/en/tmux/latest/reference/c-function-cmd-rotate-window-c-cmd_rotate_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-rotate-window.c#L112)
- [`cmd_select_layout_exec`](/en/tmux/latest/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-layout.c#L141)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-pane.c#L125)
- [`cmd_split_window_exec`](/en/tmux/latest/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-split-window.c#L222)
- [`cmd_swap_pane_exec`](/en/tmux/latest/reference/c-function-cmd-swap-pane-c-cmd_swap_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-swap-pane.c#L62)
- [`cmd_switch_client_exec`](/en/tmux/latest/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-switch-client.c#L143)
- [`layout_set_even`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_even/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L191)
- [`layout_set_main_h`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L305)
- [`layout_set_main_h_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L407)
- [`layout_set_main_v`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L509)
- [`layout_set_main_v_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L611)
- [`layout_set_tiled`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_tiled/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L732)
- [`mode_tree_zoom`](/en/tmux/latest/reference/c-function-mode_tree_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L549)
- [`resize_window`](/en/tmux/latest/reference/c-function-resize_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L62)
- [`server_destroy_pane`](/en/tmux/latest/reference/c-function-server_destroy_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L387)
- [`server_kill_pane`](/en/tmux/latest/reference/c-function-server_kill_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L195)
- [`server_unzoom_window`](/en/tmux/latest/reference/c-function-server_unzoom_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L517)
- [`window_set_active_pane`](/en/tmux/latest/reference/c-function-window_set_active_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L563)

## Calls

- [`server_redraw_client`](/en/tmux/latest/reference/c-function-server_redraw_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L102)

## Referenced by

- [`server_client_detach`](/en/tmux/latest/reference/c-function-server_client_detach/) (function)

## Referenced declarations

- [`session.curw`](/en/tmux/latest/reference/c-struct-session-curw/) (attribute)
- [`client.entry`](/en/tmux/latest/reference/c-struct-client-entry/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
