# screen_redraw_two_panes

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

```c
static int screen_redraw_two_panes(struct window *w, enum layout_type *type)
```

## Parameters

- `w` (`struct window *`)
- `type` (`enum layout_type *`)

## Called by

- [`screen_redraw_draw_border_arrows`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_draw_border_arrows/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L938)
- [`screen_redraw_pane_border`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_pane_border/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L170)

## Calls

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

## Referenced declarations

- [`window_pane.entry`](/en/tmux/latest/reference/c-struct-window_pane-entry/) (attribute)
- [`window_pane.layout_cell`](/en/tmux/latest/reference/c-struct-window_pane-layout_cell/) (attribute)
- [`layout_type`](/en/tmux/latest/reference/c-enum-layout_type/) (enum)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`layout_cell.parent`](/en/tmux/latest/reference/c-struct-layout_cell-parent/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
