From aa35ba9e180f0216dd31cf8baa8594b4bf2fab85 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 20 Dec 2000 12:00:24 +0000 Subject: [PATCH] (delete_window, Fsplit_window) (Fset_window_configuration): Call ensure_frame_matrix. --- src/window.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index b7046ba1496..24c316e4395 100644 --- a/src/window.c +++ b/src/window.c @@ -1187,6 +1187,7 @@ delete_window (window) Vwindow_list = Qnil; frame = XFRAME (WINDOW_FRAME (p)); FRAME_WINDOW_SIZES_CHANGED (frame) = 1; + ensure_frame_matrix (frame); /* Are we trying to delete any frame's selected window? */ { @@ -3195,6 +3196,7 @@ SIZE includes that window's scroll bar, or the divider column to its right.") error ("Attempt to split fixed-size window"); check_min_window_sizes (); + ensure_frame_matrix (fo); if (NILP (horflag)) { @@ -4697,7 +4699,8 @@ the return value is nil. Otherwise the value is t.") frame = XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame; f = XFRAME (frame); - + ensure_frame_matrix (f); + /* If f is a dead frame, don't bother rebuilding its window tree. However, there is other stuff we should still try to do below. */ if (FRAME_LIVE_P (f)) -- 2.39.2