# format_cb_window_offset_x

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2945
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_cb_window_offset_x/

```c
static void * format_cb_window_offset_x(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`format_printf`](/en/tmux/latest/reference/c-function-format-c-format_printf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2951)
- [`tty_window_offset`](/en/tmux/latest/reference/c-function-tty_window_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2950)

## Referenced declarations

- [`format_tree.c`](/en/tmux/latest/reference/c-struct-format_tree-c/) (attribute)
- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`client.tty`](/en/tmux/latest/reference/c-struct-client-tty/) (attribute)
