Use new layout functions for join-pane also, from Dane Jensen.

This commit is contained in:
nicm
2026-06-02 19:31:36 +00:00
parent a3bf632276
commit 390207cdf1
2 changed files with 5 additions and 47 deletions

View File

@@ -109,7 +109,8 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
else
lc = layout_get_tiled_cell(item, args, w, wp, flags, &cause);
if (cause != NULL) {
cmdq_error(item, "could not create cell: %s", cause);
cmdq_error(item, "%s", cause);
free(cause);
return (CMD_RETURN_ERROR);
}