From fa5b43fb47d2b5c8a79a9341509464e5010b5013 Mon Sep 17 00:00:00 2001 From: Dane Jensen Date: Sat, 25 Jul 2026 15:07:16 -0700 Subject: [PATCH] Adjusted invariant. --- layout-custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout-custom.c b/layout-custom.c index 449605516..427e4f74d 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -914,7 +914,7 @@ layout_parse_apply_ctx(struct window *w, struct layout_parse_ctx *pctx) int i; if (pctx->clen == 0) - return; + fatalx("layouts must have at least one pane"); /* Apply z-indexes. */ while (!TAILQ_EMPTY(&w->z_index)) {