Add new-layouts flag for control clients so they can default to old

layouts for backwards compatibility.
This commit is contained in:
nicm
2026-09-08 10:20:08 +00:00
committed by tmux update bot
parent 2191c9b172
commit d9692f7ecf
11 changed files with 63 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: layout-custom.c,v 1.38 2026/07/16 12:36:58 nicm Exp $ */
/* $OpenBSD: layout-custom.c,v 1.39 2026/09/08 10:20:08 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -58,7 +58,7 @@ layout_checksum(const char *layout)
/* Dump layout as a string. */
char *
layout_dump(struct window *w, struct layout_cell *root)
layout_dump(struct window *w, struct layout_cell *root, __unused int flags)
{
char layout[8192], *out;
int bracket = 0;