# window_pane_is_floating

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2118
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window_pane_is_floating/

```c
int window_pane_is_floating(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`cmd_resize_pane_mouse_update`](/en/tmux/latest/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-pane.c#L162)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-pane.c#L163)
- [`cmd_swap_pane_exec`](/en/tmux/latest/reference/c-function-cmd-swap-pane-c-cmd_swap_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-swap-pane.c#L82)
- [`format_cb_pane_floating_flag`](/en/tmux/latest/reference/c-function-format-c-format_cb_pane_floating_flag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1042)
- [`layout_dump`](/en/tmux/latest/reference/c-function-layout_dump/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-custom.c#L72)
- [`layout_first_tiled`](/en/tmux/latest/reference/c-function-layout-set-c-layout_first_tiled/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L132)
- [`layout_fix_panes`](/en/tmux/latest/reference/c-function-layout_fix_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L376)
- [`layout_get_tiled_cell`](/en/tmux/latest/reference/c-function-layout_get_tiled_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1315)
- [`layout_set_even`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_even/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L171)
- [`layout_set_main_h`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L285)
- [`layout_set_main_h_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L381)
- [`layout_set_main_v`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L489)
- [`layout_set_main_v_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L585)
- [`screen_redraw_cell_border`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_cell_border/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L285)
- [`screen_redraw_check_cell`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_check_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L449)
- [`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#L922)
- [`screen_redraw_get_visible_ranges`](/en/tmux/latest/reference/c-function-screen_redraw_get_visible_ranges/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1195)
- [`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#L143)
- [`screen_redraw_two_panes`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_two_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L109)
- [`screen_redraw_type_of_cell`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_type_of_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L345)
- [`screen_write_pane_is_obscured`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_pane_is_obscured/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L201)
- [`server_client_check_mouse_in_pane`](/en/tmux/latest/reference/c-function-server-client-c-server_client_check_mouse_in_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L695)
- [`window_get_active_at`](/en/tmux/latest/reference/c-function-window_get_active_at/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L654)
- [`window_has_floating_panes`](/en/tmux/latest/reference/c-function-window_has_floating_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L472)
- [`window_pane_printable_flags`](/en/tmux/latest/reference/c-function-window_pane_printable_flags/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1012)
- [`window_pane_zindex`](/en/tmux/latest/reference/c-function-window_pane_zindex/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L929)
- [`window_redraw_active_switch`](/en/tmux/latest/reference/c-function-window_redraw_active_switch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L612)

## Referenced by

- [`layout_set_tiled`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_tiled/) (function)
- [`screen_redraw_draw_borders_style`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_style/) (function)
- [`window_count_panes`](/en/tmux/latest/reference/c-function-window_count_panes/) (function)

## Referenced declarations

- [`layout_cell.flags`](/en/tmux/latest/reference/c-struct-layout_cell-flags/) (attribute)
- [`window_pane.layout_cell`](/en/tmux/latest/reference/c-struct-window_pane-layout_cell/) (attribute)
- [`LAYOUT_CELL_FLOATING`](/en/tmux/latest/reference/c-define-tmux-h-layout_cell_floating/) (constant)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
- [`layout_cell.wp`](/en/tmux/latest/reference/c-struct-layout_cell-wp/) (attribute)
