# screen_redraw_pane_border

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L150
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_pane_border/

```c
static enum screen_redraw_border_type screen_redraw_pane_border(struct window_pane *wp, u_int px, u_int py, int pane_status)
```

## Parameters

- `wp` (`struct window_pane *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `pane_status` (`int`)

## Called by

- [`screen_redraw_cell_border`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_cell_border/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L237)
- [`screen_redraw_check_cell`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_check_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L373)
- [`screen_redraw_check_is`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_check_is/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L396)

## Calls

- [`screen_redraw_two_panes`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_two_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L161)

## Referenced declarations

- [`PANE_STATUS_OFF`](/en/tmux/3.2a/reference/c-define-tmux-h-pane_status_off/) (constant)
- [`PANE_STATUS_TOP`](/en/tmux/3.2a/reference/c-define-tmux-h-pane_status_top/) (constant)
- [`SCREEN_REDRAW_BORDER`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_border/) (constant)
- [`screen_redraw_border_type`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type/) (enum)
- [`SCREEN_REDRAW_INSIDE`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_inside/) (constant)
- [`SCREEN_REDRAW_OUTSIDE`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_outside/) (constant)
- [`window_pane.sx`](/en/tmux/3.2a/reference/c-struct-window_pane-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.2a/reference/c-struct-window_pane-sy/) (attribute)
- [`window_pane.window`](/en/tmux/3.2a/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
- [`window_pane.xoff`](/en/tmux/3.2a/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/3.2a/reference/c-struct-window_pane-yoff/) (attribute)
