# session.lastw

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

```c
struct winlink_stack lastw;
```

## Referenced by

- [`cmd_find_get_window_with_session`](/en/tmux/latest/reference/c-function-cmd-find-c-cmd_find_get_window_with_session/) (function)
- [`format_cb_session_stack`](/en/tmux/latest/reference/c-function-format-c-format_cb_session_stack/) (function)
- [`format_cb_window_last_flag`](/en/tmux/latest/reference/c-function-format-c-format_cb_window_last_flag/) (function)
- [`format_cb_window_stack_index`](/en/tmux/latest/reference/c-function-format-c-format_cb_window_stack_index/) (function)
- [`server_link_window`](/en/tmux/latest/reference/c-function-server_link_window/) (function)
- [`session_create`](/en/tmux/latest/reference/c-function-session_create/) (function)
- [`session_destroy`](/en/tmux/latest/reference/c-function-session_destroy/) (function)
- [`session_detach`](/en/tmux/latest/reference/c-function-session_detach/) (function)
- [`session_group_synchronize1`](/en/tmux/latest/reference/c-function-session-c-session_group_synchronize1/) (function)
- [`session_last`](/en/tmux/latest/reference/c-function-session_last/) (function)
- [`session_renumber_windows`](/en/tmux/latest/reference/c-function-session_renumber_windows/) (function)
- [`session_set_current`](/en/tmux/latest/reference/c-function-session_set_current/) (function)
- [`spawn_window`](/en/tmux/latest/reference/c-function-spawn_window/) (function)
- [`window_printable_flags`](/en/tmux/latest/reference/c-function-window_printable_flags/) (function)

## Referenced declarations

- [`winlink_stack`](/en/tmux/latest/reference/c-struct-winlink_stack/) (struct)
