Mercurial > emacs
diff src/frame.c @ 1680:ea9f3949f153
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 12 Dec 1992 15:34:44 +0000 |
parents | 93497cd89204 |
children | 357b58c8c858 |
line wrap: on
line diff
--- a/src/frame.c Sat Dec 12 15:32:51 1992 +0000 +++ b/src/frame.c Sat Dec 12 15:34:44 1992 +0000 @@ -616,6 +616,11 @@ minibuf_window = selected_frame->minibuffer_window; } + /* Mark all the windows that used to be on FRAME as deleted, and then + remove the reference to them. */ + delete_all_subwindows (XWINDOW (f->root_window)); + f->root_window = Qnil; + Vframe_list = Fdelq (frame, Vframe_list); f->visible = 0; displ = f->display;