# window_copy_clip_width

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

```c
static u_int window_copy_clip_width(u_int, u_int, u_int, u_int)
```

## Parameters

- `width` (`u_int`)
- `b` (`u_int`)
- `sx` (`u_int`)
- `sy` (`u_int`)

## Called by

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

## Referenced declarations

- [`grid.sx`](/en/tmux/latest/reference/c-struct-grid-sx/) (attribute)
- [`grid.sy`](/en/tmux/latest/reference/c-struct-grid-sy/) (attribute)
