# window.lastlayout

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L1373
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-struct-window-lastlayout/

```c
int lastlayout;
```

## Referenced by

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