# screen_redraw_cell_border

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L274
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_cell_border/

```c
static int screen_redraw_cell_border(struct screen_redraw_ctx *ctx, struct window_pane *wp, int px, int py)
```

## Parameters

- `ctx` (`struct screen_redraw_ctx *`)
- `wp` (`struct window_pane *`)
- `px` (`int`)
- `py` (`int`)

## Called by

- [`screen_redraw_type_of_cell`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_type_of_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L354)

## Calls

- [`screen_redraw_cell_border1`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_cell_border1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L286)
- [`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/screen-redraw.c#L285)
- [`window_pane_visible`](/en/tmux/3.7c/reference/c-function-window_pane_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L309)

## Referenced declarations

- [`screen_redraw_ctx.c`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`style.pad`](/en/tmux/3.7c/reference/c-struct-style-pad/) (attribute)
- [`PANE_SCROLLBARS_OFF`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_scrollbars_off/) (constant)
- [`screen_redraw_ctx.pane_status`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-pane_status/) (attribute)
- [`PANE_STATUS_BOTTOM`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_status_bottom/) (constant)
- [`window.sb`](/en/tmux/3.7c/reference/c-struct-window-sb/) (attribute)
- [`window.sb_pos`](/en/tmux/3.7c/reference/c-struct-window-sb_pos/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx/) (struct)
- [`window_pane.scrollbar_style`](/en/tmux/3.7c/reference/c-struct-window_pane-scrollbar_style/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`window_pane.sx`](/en/tmux/3.7c/reference/c-struct-window_pane-sx/) (attribute)
- [`window.sx`](/en/tmux/3.7c/reference/c-struct-window-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.7c/reference/c-struct-window_pane-sy/) (attribute)
- [`window.sy`](/en/tmux/3.7c/reference/c-struct-window-sy/) (attribute)
- [`style.width`](/en/tmux/3.7c/reference/c-struct-style-width/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
- [`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)
