# control_notify_window_unlinked

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L92
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-control_notify_window_unlinked/

```c
void control_notify_window_unlinked(struct session *s, struct window *w)
```

## Parameters

- `s` (`struct session *`)
- `w` (`struct window *`)

## Called by

- [`notify_callback`](/en/tmux/3.7c/reference/c-function-notify-c-notify_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L136)

## Calls

- [`control_write`](/en/tmux/3.7c/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L103)
- [`winlink_find_by_window_id`](/en/tmux/3.7c/reference/c-function-winlink_find_by_window_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L102)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`CONTROL_SHOULD_NOTIFY_CLIENT`](/en/tmux/3.7c/reference/c-define-control-notify-c-control_should_notify_client/) (constant)
- [`winlink.entry`](/en/tmux/3.7c/reference/c-struct-winlink-entry/) (attribute)
- [`window.id`](/en/tmux/3.7c/reference/c-struct-window-id/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
- [`session.windows`](/en/tmux/3.7c/reference/c-struct-session-windows/) (attribute)
