# window_pane_cmp

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L90
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_pane_cmp/

```c
int window_pane_cmp(struct window_pane *wp1, struct window_pane *wp2)
```

## Parameters

- `wp1` (`struct window_pane *`)
- `wp2` (`struct window_pane *`)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)
- [`window_pane_tree_RB_FIND`](/en/tmux/3.2a/reference/c-function-window_pane_tree_rb_find/) (function)

## Referenced declarations

- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
