# CONTROL_SHOULD_NOTIFY_CLIENT

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L26
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-define-control-notify-c-control_should_notify_client/

```c
#define CONTROL_SHOULD_NOTIFY_CLIENT(c) ((c) != NULL && ((c)->flags & CLIENT_CONTROL) && \
 (c)->control_state != NULL)
```

## Referenced by

- [`control_notify_client_detached`](/en/tmux/latest/reference/c-function-control_notify_client_detached/) (function)
- [`control_notify_client_session_changed`](/en/tmux/latest/reference/c-function-control_notify_client_session_changed/) (function)
- [`control_notify_pane_mode_changed`](/en/tmux/latest/reference/c-function-control_notify_pane_mode_changed/) (function)
- [`control_notify_paste_buffer_changed`](/en/tmux/latest/reference/c-function-control_notify_paste_buffer_changed/) (function)
- [`control_notify_paste_buffer_deleted`](/en/tmux/latest/reference/c-function-control_notify_paste_buffer_deleted/) (function)
- [`control_notify_session_closed`](/en/tmux/latest/reference/c-function-control_notify_session_closed/) (function)
- [`control_notify_session_created`](/en/tmux/latest/reference/c-function-control_notify_session_created/) (function)
- [`control_notify_session_renamed`](/en/tmux/latest/reference/c-function-control_notify_session_renamed/) (function)
- [`control_notify_session_window_changed`](/en/tmux/latest/reference/c-function-control_notify_session_window_changed/) (function)
- [`control_notify_window_layout_changed`](/en/tmux/latest/reference/c-function-control_notify_window_layout_changed/) (function)
- [`control_notify_window_linked`](/en/tmux/latest/reference/c-function-control_notify_window_linked/) (function)
- [`control_notify_window_pane_changed`](/en/tmux/latest/reference/c-function-control_notify_window_pane_changed/) (function)
- [`control_notify_window_renamed`](/en/tmux/latest/reference/c-function-control_notify_window_renamed/) (function)
- [`control_notify_window_unlinked`](/en/tmux/latest/reference/c-function-control_notify_window_unlinked/) (function)

## Referenced declarations

- [`CLIENT_CONTROL`](/en/tmux/latest/reference/c-define-tmux-h-client_control/) (constant)
- [`control_state`](/en/tmux/latest/reference/c-struct-control_state/) (struct)
