Change so that floating panes are always part of the root layout. From

Dane Jensen.
This commit is contained in:
nicm
2026-06-06 17:30:48 +00:00
parent d7a2b52da8
commit 35709a30ee
3 changed files with 96 additions and 57 deletions

View File

@@ -105,7 +105,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
flags |= SPAWN_EMPTY;
if (is_floating)
lc = layout_get_floating_cell(item, args, w, wp, lc, &cause);
lc = layout_get_floating_cell(item, args, w, wp, &cause);
else
lc = layout_get_tiled_cell(item, args, w, wp, flags, &cause);
if (cause != NULL) {