aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c
index a03be0cd52f..5d38f015130 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2778,9 +2778,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
2778 delete_all_child_windows (f->root_window); 2778 delete_all_child_windows (f->root_window);
2779 fset_root_window (f, Qnil); 2779 fset_root_window (f, Qnil);
2780 2780
2781 block_input (); 2781 Vframe_list = delq_no_quit (frame, Vframe_list);
2782 Vframe_list = Fdelq (frame, Vframe_list);
2783 unblock_input ();
2784 SET_FRAME_VISIBLE (f, false); 2782 SET_FRAME_VISIBLE (f, false);
2785 2783
2786 /* Allow the vector of menu bar contents to be freed in the next 2784 /* Allow the vector of menu bar contents to be freed in the next