# layout_floating_pane

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

```c
struct layout_cell * layout_floating_pane(struct window *w, u_int sx, u_int sy, int ox, int oy)
```

## Parameters

- `w` (`struct window *`)
- `sx` (`u_int`)
- `sy` (`u_int`)
- `ox` (`int`)
- `oy` (`int`)

## Called by

- [`layout_get_floating_cell`](/en/tmux/latest/reference/c-function-layout_get_floating_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1421)

## Calls

- [`layout_create_cell`](/en/tmux/latest/reference/c-function-layout_create_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1181)
- [`layout_make_node`](/en/tmux/latest/reference/c-function-layout_make_node/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1182)
- [`layout_set_size`](/en/tmux/latest/reference/c-function-layout_set_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1183)

## Referenced declarations

- [`layout_cell.entry`](/en/tmux/latest/reference/c-struct-layout_cell-entry/) (attribute)
- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`LAYOUT_CELL_FLOATING`](/en/tmux/latest/reference/c-define-tmux-h-layout_cell_floating/) (constant)
- [`window.layout_root`](/en/tmux/latest/reference/c-struct-window-layout_root/) (attribute)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/latest/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`LAYOUT_WINDOWPANE`](/en/tmux/latest/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`layout_cell.parent`](/en/tmux/latest/reference/c-struct-layout_cell-parent/) (attribute)
- [`layout_cell.sx`](/en/tmux/latest/reference/c-struct-layout_cell-sx/) (attribute)
- [`window.sx`](/en/tmux/latest/reference/c-struct-window-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/latest/reference/c-struct-layout_cell-sy/) (attribute)
- [`window.sy`](/en/tmux/latest/reference/c-struct-window-sy/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
