# libtmux::Window::linked_sessions

- **Module:** libtmux::Window
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L439
- **Page:** https://libtmux.org/reference/cxx/libtmux-window-linked_sessions/

```
libtmux::Window::linked_sessions() -> long long
```

How many sessions hold this window.

More than one means the same window is shown in several places, and a command aimed at a bare id could land on any of them — which is why targets here are qualified.
