# HG changeset patch # User Gerd Moellmann # Date 977313624 0 # Node ID 2d590f9a5d31d4099ab736c181d5fcd9cec3f9cc # Parent 77b93ad23bdbf137ba534a4912a07d69705adc36 (delete_window, Fsplit_window) (Fset_window_configuration): Call ensure_frame_matrix. diff -r 77b93ad23bdb -r 2d590f9a5d31 src/window.c --- a/src/window.c Wed Dec 20 12:00:01 2000 +0000 +++ b/src/window.c Wed Dec 20 12:00:24 2000 +0000 @@ -1187,6 +1187,7 @@ 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 @@ error ("Attempt to split fixed-size window"); check_min_window_sizes (); + ensure_frame_matrix (fo); if (NILP (horflag)) { @@ -4697,7 +4699,8 @@ 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))