# HG changeset patch # User Jim Blandy # Date 724174484 0 # Node ID ea9f3949f15345b2e5da1d4b04d2dfaf34d36ae5 # Parent cd48b2c1a7a4419dc528846652fcfa9a213c88d2 * 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. diff -r cd48b2c1a7a4 -r ea9f3949f153 src/frame.c --- 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;