changeset 34735:2d590f9a5d31

(delete_window, Fsplit_window) (Fset_window_configuration): Call ensure_frame_matrix.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 20 Dec 2000 12:00:24 +0000
parents 77b93ad23bdb
children 51a0fe34dfc6
files src/window.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))