# window_copy_scroll_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L344
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-copy-c-window_copy_scroll_timer/

```c
static void window_copy_scroll_timer(int fd, short events, void *arg)
```

## Parameters

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

## Calls

- [`window_copy_cursor_down`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L363)
- [`window_copy_cursor_up`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L360)

## Referenced by

- [`window_copy_common_init`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_common_init/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`window_copy_mode_data.cy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_copy_mode_data.dragtimer`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-dragtimer/) (attribute)
- [`window_pane.modes`](/en/tmux/latest/reference/c-struct-window_pane-modes/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_size_y`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`WINDOW_COPY_DRAG_REPEAT_TIME`](/en/tmux/latest/reference/c-define-window-copy-c-window_copy_drag_repeat_time/) (constant)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
