# window_pane_border_status_get_range

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

```c
struct style_range * window_pane_border_status_get_range(struct window_pane *wp, u_int x, u_int y)
```

## Parameters

- `wp` (`struct window_pane *`)
- `x` (`u_int`)
- `y` (`u_int`)

## Called by

- [`server_client_check_mouse`](/en/tmux/latest/reference/c-function-server-client-c-server_client_check_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L925)

## Calls

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2102)
- [`style_ranges_get_range`](/en/tmux/latest/reference/c-function-style_ranges_get_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2114)

## Referenced declarations

- [`window_pane.border_status_line`](/en/tmux/latest/reference/c-struct-window_pane-border_status_line/) (attribute)
- [`window.options`](/en/tmux/latest/reference/c-struct-window-options/) (attribute)
- [`PANE_STATUS_BOTTOM`](/en/tmux/latest/reference/c-define-tmux-h-pane_status_bottom/) (constant)
- [`PANE_STATUS_OFF`](/en/tmux/latest/reference/c-define-tmux-h-pane_status_off/) (constant)
- [`PANE_STATUS_TOP`](/en/tmux/latest/reference/c-define-tmux-h-pane_status_top/) (constant)
- [`style_line_entry.ranges`](/en/tmux/latest/reference/c-struct-style_line_entry-ranges/) (attribute)
- [`style_range`](/en/tmux/latest/reference/c-struct-style_range/) (struct)
- [`window_pane.sy`](/en/tmux/latest/reference/c-struct-window_pane-sy/) (attribute)
- [`window_pane.window`](/en/tmux/latest/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
- [`window_pane.xoff`](/en/tmux/latest/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/latest/reference/c-struct-window_pane-yoff/) (attribute)
