# layout_fix_offsets1

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L203
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-layout-c-layout_fix_offsets1/

```c
static void layout_fix_offsets1(struct layout_cell *lc)
```

## Parameters

- `lc` (`struct layout_cell *`)

## Called by

- [`layout_fix_offsets`](/en/tmux/3.2a/reference/c-function-layout_fix_offsets/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L238)
- [`layout_fix_offsets1`](/en/tmux/3.2a/reference/c-function-layout-c-layout_fix_offsets1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L214)

## Calls

- [`layout_fix_offsets1`](/en/tmux/3.2a/reference/c-function-layout-c-layout_fix_offsets1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/layout.c#L214)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/3.2a/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell.entry`](/en/tmux/3.2a/reference/c-struct-layout_cell-entry/) (attribute)
- [`layout_cell`](/en/tmux/3.2a/reference/c-struct-layout_cell/) (struct)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`LAYOUT_WINDOWPANE`](/en/tmux/3.2a/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`layout_cell.sx`](/en/tmux/3.2a/reference/c-struct-layout_cell-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/3.2a/reference/c-struct-layout_cell-sy/) (attribute)
- [`layout_cell.type`](/en/tmux/3.2a/reference/c-struct-layout_cell-type/) (attribute)
- [`layout_cell.xoff`](/en/tmux/3.2a/reference/c-struct-layout_cell-xoff/) (attribute)
- [`layout_cell.yoff`](/en/tmux/3.2a/reference/c-struct-layout_cell-yoff/) (attribute)
