Fix last change again

* src/frame.c (Freconsider_frame_fonts): Apply value of default
face again.  (bug#59283)
This commit is contained in:
Po Lu 2022-11-15 21:42:59 +08:00
parent c6df541783
commit c63d77ac6b

View file

@ -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;
}