# layout_get_floating_cell

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

```c
struct layout_cell * layout_get_floating_cell(struct cmdq_item *item, struct args *args, struct window *w, struct window_pane *wp, char **cause)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `args` (`struct args *`)
- `w` (`struct window *`)
- `wp` (`struct window_pane *`)
- `cause` (`char **`)

## Called by

- [`cmd_split_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-split-window.c#L118)

## Calls

- [`args_has`](/en/tmux/3.7c/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1374)
- [`args_percentage_and_expand`](/en/tmux/3.7c/reference/c-function-args_percentage_and_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1375)
- [`layout_floating_pane`](/en/tmux/3.7c/reference/c-function-layout_floating_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1421)
- [`window_push_zoom`](/en/tmux/3.7c/reference/c-function-window_push_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1420)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`window.last_new_pane_x`](/en/tmux/3.7c/reference/c-struct-window-last_new_pane_x/) (attribute)
- [`window.last_new_pane_y`](/en/tmux/3.7c/reference/c-struct-window-last_new_pane_y/) (attribute)
- [`layout_cell`](/en/tmux/3.7c/reference/c-struct-layout_cell/) (struct)
- [`layout_cell.sx`](/en/tmux/3.7c/reference/c-struct-layout_cell-sx/) (attribute)
- [`window.sx`](/en/tmux/3.7c/reference/c-struct-window-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/3.7c/reference/c-struct-layout_cell-sy/) (attribute)
- [`window.sy`](/en/tmux/3.7c/reference/c-struct-window-sy/) (attribute)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
- [`layout_cell.wp`](/en/tmux/3.7c/reference/c-struct-layout_cell-wp/) (attribute)
