aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-12-12 15:34:44 +0000
committerJim Blandy1992-12-12 15:34:44 +0000
commit4a88b3b0fef8489fb3edc99a7659ec93da89130e (patch)
treee05b745572e04d520e06b5e8dd5dfa60603717e9 /src
parent642ef2454b011a69bd615f2f9f34c4c6c7ae1679 (diff)
downloademacs-4a88b3b0fef8489fb3edc99a7659ec93da89130e.tar.gz
emacs-4a88b3b0fef8489fb3edc99a7659ec93da89130e.zip
* frame.c (Fdelete_frame): Delete all the windows in the frame's
window tree, using delete_all_subwindows. * window.c (delete_all_subwindows): Don't make this static anymore.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 5ffb04c843a..ddf98ab32ae 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -616,6 +616,11 @@ A frame may not be deleted if its minibuffer is used by other frames.")
616 minibuf_window = selected_frame->minibuffer_window; 616 minibuf_window = selected_frame->minibuffer_window;
617 } 617 }
618 618
619 /* Mark all the windows that used to be on FRAME as deleted, and then
620 remove the reference to them. */
621 delete_all_subwindows (XWINDOW (f->root_window));
622 f->root_window = Qnil;
623
619 Vframe_list = Fdelq (frame, Vframe_list); 624 Vframe_list = Fdelq (frame, Vframe_list);
620 f->visible = 0; 625 f->visible = 0;
621 displ = f->display; 626 displ = f->display;