Commit 4a88b3b0 authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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
parent 642ef245
......@@ -616,6 +616,11 @@ A frame may not be deleted if its minibuffer is used by other frames.")
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment