From b728f50e1f05270e6f650c79e65cddd2ca0d4bc0 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sat, 22 Nov 2025 10:12:37 +0100 Subject: [PATCH] Fix thinko in 'window_set_parent_and_normal_sizes' * src/window.c (window_set_parent_and_normal_sizes): When assigning normal sizes in a combination, take the direction from its parent's 'horizontal' slot and not from that of the first window in the combination. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index d776cd7119e..1d9104cc779 100644 --- a/src/window.c +++ b/src/window.c @@ -5161,7 +5161,7 @@ window_set_parent_and_normal_sizes (Lisp_Object parent) /* Normal size left for yet unprocessed windows. */ double remainder = 1.0; - if (w->horizontal) + if (p->horizontal) { while (true) {