aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/frame.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 35007249dd8..be683401de5 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -876,6 +876,21 @@ but if the second optional argument FORCE is non-nil, you may do so.")
876 Vframe_list = Fdelq (frame, Vframe_list); 876 Vframe_list = Fdelq (frame, Vframe_list);
877 FRAME_SET_VISIBLE (f, 0); 877 FRAME_SET_VISIBLE (f, 0);
878 878
879 if (FRAME_CURRENT_GLYPHS (f))
880 free_frame_glyphs (f, FRAME_CURRENT_GLYPHS (f));
881 if (FRAME_DESIRED_GLYPHS (f))
882 free_frame_glyphs (f, FRAME_DESIRED_GLYPHS (f));
883 if (FRAME_TEMP_GLYPHS (f))
884 free_frame_glyphs (f, FRAME_TEMP_GLYPHS (f));
885 if (FRAME_INSERT_COST (f))
886 free (FRAME_INSERT_COST (f));
887 if (FRAME_DELETEN_COST (f))
888 FRAME_DELETEN_COST (f);
889 if (FRAME_INSERTN_COST (f))
890 FRAME_INSERTN_COST (f);
891 if (FRAME_DELETE_COST (f))
892 FRAME_DELETE_COST (f);
893
879 /* Since some events are handled at the interrupt level, we may get 894 /* Since some events are handled at the interrupt level, we may get
880 an event for f at any time; if we zero out the frame's display 895 an event for f at any time; if we zero out the frame's display
881 now, then we may trip up the event-handling code. Instead, we'll 896 now, then we may trip up the event-handling code. Instead, we'll