# libtmux::Client::active_pane_id

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/9645e54239e040aa6f2bd6bf42c2fbe1aaf38250/include/libtmux/entities.hpp#L1063
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-client-active_pane_id-p6pw/

```
[[nodiscard]] PaneId active_pane_id() const noexcept;
```

The session window's active pane, not independent client-local focus.
