# window.lastlayout

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.h#L1058
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-struct-window-lastlayout/

```c
int lastlayout;
```

## Referenced by

- [`cmd_select_layout_exec`](/en/tmux/3.2a/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function)
- [`layout_set_next`](/en/tmux/3.2a/reference/c-function-layout_set_next/) (function)
- [`layout_set_previous`](/en/tmux/3.2a/reference/c-function-layout_set_previous/) (function)
- [`layout_set_select`](/en/tmux/3.2a/reference/c-function-layout_set_select/) (function)
- [`window_create`](/en/tmux/3.2a/reference/c-function-window_create/) (function)
