Old format does not dump floating cell information.

This commit is contained in:
Dane Jensen
2026-07-15 12:13:58 -07:00
parent 1bf58df934
commit eaf404d530

View File

@@ -176,7 +176,7 @@ layout_append_v1(struct layout_cell *lc, char *buf, size_t len)
if (len == 0)
return (-1);
if (lc == NULL)
if (lc == NULL || lc->flags & LAYOUT_CELL_FLOATING)
return (0);
if (lc->wp != NULL) {
tmplen = xsnprintf(tmp, sizeof tmp, "%ux%u,%d,%d,%u",