mirror of
https://github.com/tmux/tmux.git
synced 2026-07-22 00:41:19 +00:00
Old format does not dump floating cell information.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user