# window_clock_timer_callback

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

```c
static void window_clock_timer_callback(int, short, void *)
```

## Parameters

- `fd` (`int`)
- `events` (`short`)
- `arg` (`void *`)

## Calls

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

## Referenced by

- [`window_clock_init`](/en/tmux/3.7c/reference/c-function-window-clock-c-window_clock_init/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_pane.flags`](/en/tmux/3.7c/reference/c-struct-window_pane-flags/) (attribute)
- [`PANE_REDRAW`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`window_clock_mode_data.tim`](/en/tmux/3.7c/reference/c-struct-window_clock_mode_data-tim/) (attribute)
- [`window_clock_mode_data.timer`](/en/tmux/3.7c/reference/c-struct-window_clock_mode_data-timer/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-wp/) (attribute)
