aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-20 12:00:24 +0000
committerGerd Moellmann2000-12-20 12:00:24 +0000
commitaa35ba9e180f0216dd31cf8baa8594b4bf2fab85 (patch)
tree3d9b96c889ce5dd604a62b372f2bfc90338718d5 /src
parent1202e2cce2c0c219edec1cc82d367b47305975f0 (diff)
downloademacs-aa35ba9e180f0216dd31cf8baa8594b4bf2fab85.tar.gz
emacs-aa35ba9e180f0216dd31cf8baa8594b4bf2fab85.zip
(delete_window, Fsplit_window)
(Fset_window_configuration): Call ensure_frame_matrix.
Diffstat (limited to 'src')
-rw-r--r--src/window.c5
1 files changed, 4 insertions, 1 deletions
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)
1187 Vwindow_list = Qnil; 1187 Vwindow_list = Qnil;
1188 frame = XFRAME (WINDOW_FRAME (p)); 1188 frame = XFRAME (WINDOW_FRAME (p));
1189 FRAME_WINDOW_SIZES_CHANGED (frame) = 1; 1189 FRAME_WINDOW_SIZES_CHANGED (frame) = 1;
1190 ensure_frame_matrix (frame);
1190 1191
1191 /* Are we trying to delete any frame's selected window? */ 1192 /* Are we trying to delete any frame's selected window? */
1192 { 1193 {
@@ -3195,6 +3196,7 @@ SIZE includes that window's scroll bar, or the divider column to its right.")
3195 error ("Attempt to split fixed-size window"); 3196 error ("Attempt to split fixed-size window");
3196 3197
3197 check_min_window_sizes (); 3198 check_min_window_sizes ();
3199 ensure_frame_matrix (fo);
3198 3200
3199 if (NILP (horflag)) 3201 if (NILP (horflag))
3200 { 3202 {
@@ -4697,7 +4699,8 @@ the return value is nil. Otherwise the value is t.")
4697 4699
4698 frame = XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame; 4700 frame = XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame;
4699 f = XFRAME (frame); 4701 f = XFRAME (frame);
4700 4702 ensure_frame_matrix (f);
4703
4701 /* If f is a dead frame, don't bother rebuilding its window tree. 4704 /* If f is a dead frame, don't bother rebuilding its window tree.
4702 However, there is other stuff we should still try to do below. */ 4705 However, there is other stuff we should still try to do below. */
4703 if (FRAME_LIVE_P (f)) 4706 if (FRAME_LIVE_P (f))