# notify_session_window

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/notify.c#L244
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-notify_session_window/

```c
void notify_session_window(const char *name, struct session *s, struct window *w)
```

## Parameters

- `name` (`const char *`)
- `s` (`struct session *`)
- `w` (`struct window *`)

## Called by

- [`server_link_window`](/en/tmux/3.2a/reference/c-function-server_link_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-fn.c#L271)
- [`session_attach`](/en/tmux/3.2a/reference/c-function-session_attach/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L341)
- [`session_destroy`](/en/tmux/3.2a/reference/c-function-session_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L223)
- [`session_detach`](/en/tmux/3.2a/reference/c-function-session_detach/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L357)
- [`session_group_synchronize1`](/en/tmux/3.2a/reference/c-function-session-c-session_group_synchronize1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L663)
- [`spawn_window`](/en/tmux/3.2a/reference/c-function-spawn_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/spawn.c#L135)

## Calls

- [`cmd_find_from_session_window`](/en/tmux/3.2a/reference/c-function-cmd_find_from_session_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/notify.c#L248)
- [`notify_add`](/en/tmux/3.2a/reference/c-function-notify-c-notify_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/notify.c#L249)

## Referenced declarations

- [`cmd_find_state.s`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-s/) (attribute)
- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
- [`cmd_find_state.w`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-w/) (attribute)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
