# notify_window

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

```c
void notify_window(const char *name, struct window *w)
```

## Parameters

- `name` (`const char *`)
- `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#L137)
- [`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#L142)
- [`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#L161)
- [`layout_close_pane`](/en/tmux/latest/reference/c-function-layout_close_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1218)
- [`layout_parse`](/en/tmux/latest/reference/c-function-layout_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-custom.c#L289)
- [`layout_resize_layout`](/en/tmux/latest/reference/c-function-layout_resize_layout/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L725)
- [`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#L190)
- [`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#L304)
- [`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#L406)
- [`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#L508)
- [`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#L610)
- [`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#L731)
- [`resize_window`](/en/tmux/latest/reference/c-function-resize_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L63)
- [`spawn_pane`](/en/tmux/latest/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L516)
- [`window_lost_pane`](/en/tmux/latest/reference/c-function-window_lost_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L850)
- [`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#L566)
- [`window_set_name`](/en/tmux/latest/reference/c-function-window_set_name/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L414)
- [`window_unzoom`](/en/tmux/latest/reference/c-function-window_unzoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L770)
- [`window_zoom`](/en/tmux/latest/reference/c-function-window_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L744)

## Calls

- [`cmd_find_from_window`](/en/tmux/latest/reference/c-function-cmd_find_from_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L301)
- [`notify_add`](/en/tmux/latest/reference/c-function-notify-c-notify_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L302)

## Referenced declarations

- [`cmd_find_state.w`](/en/tmux/latest/reference/c-struct-cmd_find_state-w/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
