# screen_redraw_check_cell

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

```c
static int screen_redraw_check_cell(struct client *c, u_int px, u_int py, int pane_status, struct window_pane **wpp)
```

## Parameters

- `c` (`struct client *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `pane_status` (`int`)
- `wpp` (`struct window_pane **`)

## Called by

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

## Calls

- [`screen_redraw_pane_border`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_pane_border/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L373)
- [`screen_redraw_type_of_cell`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_type_of_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L339)
- [`server_client_get_pane`](/en/tmux/3.2a/reference/c-function-server_client_get_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L342)
- [`window_pane_visible`](/en/tmux/3.2a/reference/c-function-window_pane_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L344)

## Referenced declarations

- [`CELL_INSIDE`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-cell_inside/) (constant)
- [`CELL_OUTSIDE`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-cell_outside/) (constant)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`window_pane.entry`](/en/tmux/3.2a/reference/c-struct-window_pane-entry/) (attribute)
- [`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)
- [`window.panes`](/en/tmux/3.2a/reference/c-struct-window-panes/) (attribute)
- [`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)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`window_pane.status_size`](/en/tmux/3.2a/reference/c-struct-window_pane-status_size/) (attribute)
- [`window.sx`](/en/tmux/3.2a/reference/c-struct-window-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.2a/reference/c-struct-window_pane-sy/) (attribute)
- [`window.sy`](/en/tmux/3.2a/reference/c-struct-window-sy/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-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)
