summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 6eb6f392ecc..bfdd03e5013 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -5962,9 +5962,16 @@ have changed. */)
f = decode_window_system_frame (frame);
+ /* First, call this to reinitialize any font backend specific
+ stuff. */
+
if (FRAME_RIF (f)->default_font_parameter)
FRAME_RIF (f)->default_font_parameter (f, Qnil);
+ /* Now call this to apply the existing value(s) of the `default'
+ face. */
+ call1 (Qface_set_after_frame_default, frame);
+
return Qnil;
}