# window_get_active_at

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L625
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window_get_active_at/

```c
struct window_pane * window_get_active_at(struct window *w, u_int x, u_int y)
```

## Parameters

- `w` (`struct window *`)
- `x` (`u_int`)
- `y` (`u_int`)

## Called by

- [`server_client_check_mouse`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L914)
- [`window_find_string`](/en/tmux/3.7c/reference/c-function-window_find_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L718)

## Calls

- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L631)
- [`window_pane_full_size_offset`](/en/tmux/3.7c/reference/c-function-window-c-window_pane_full_size_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L642)
- [`window_pane_is_floating`](/en/tmux/3.7c/reference/c-function-window_pane_is_floating/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L654)
- [`window_pane_visible`](/en/tmux/3.7c/reference/c-function-window_pane_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L639)

## Referenced declarations

- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`PANE_STATUS_TOP`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_status_top/) (constant)
- [`window_pane.sx`](/en/tmux/3.7c/reference/c-struct-window_pane-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.7c/reference/c-struct-window_pane-sy/) (attribute)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
- [`window_pane.xoff`](/en/tmux/3.7c/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/3.7c/reference/c-struct-window_pane-yoff/) (attribute)
- [`window.z_index`](/en/tmux/3.7c/reference/c-struct-window-z_index/) (attribute)
- [`window_pane.zentry`](/en/tmux/3.7c/reference/c-struct-window_pane-zentry/) (attribute)
