# window_clock_key

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L214
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-clock-c-window_clock_key/

```c
static void window_clock_key(struct window_mode_entry *, struct client *, struct session *, struct winlink *, key_code, struct mouse_event *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `c` (`struct client *`)
- `s` (`struct session *`)
- `wl` (`struct winlink *`)
- `key` (`key_code`)
- `m` (`struct mouse_event *`)

## Calls

- [`window_pane_reset_mode`](/en/tmux/3.7c/reference/c-function-window_pane_reset_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L218)

## Referenced by

- [`window_clock_mode`](/en/tmux/3.7c/reference/c-variable-window_clock_mode/) (attribute)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`key_code`](/en/tmux/3.7c/reference/c-typedef-key_code/) (typealias)
- [`mouse_event`](/en/tmux/3.7c/reference/c-struct-mouse_event/) (struct)
- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`winlink`](/en/tmux/3.7c/reference/c-struct-winlink/) (struct)
- [`window_mode_entry.wp`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-wp/) (attribute)
