aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 759e21c25c8..71513355184 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -335,6 +335,7 @@ make_frame (mini_p)
335 f->win_gravity = 0; 335 f->win_gravity = 0;
336#ifdef USE_FONT_BACKEND 336#ifdef USE_FONT_BACKEND
337 f->font_driver_list = NULL; 337 f->font_driver_list = NULL;
338 f->font_data_list = NULL;
338#endif /* USE_FONT_BACKEND */ 339#endif /* USE_FONT_BACKEND */
339 340
340 root_window = make_window (); 341 root_window = make_window ();
@@ -1484,6 +1485,9 @@ The functions are run with one arg, the frame to be deleted. */)
1484 memory. */ 1485 memory. */
1485 free_glyphs (f); 1486 free_glyphs (f);
1486 1487
1488 /* Give chance to each font driver to free a frame specific data. */
1489 font_update_drivers (f, Qnil);
1490
1487 /* Mark all the windows that used to be on FRAME as deleted, and then 1491 /* Mark all the windows that used to be on FRAME as deleted, and then
1488 remove the reference to them. */ 1492 remove the reference to them. */
1489 delete_all_subwindows (XWINDOW (f->root_window)); 1493 delete_all_subwindows (XWINDOW (f->root_window));