Mercurial > emacs
changeset 33994:c7396fdd8d6b
(Fx_create_frame): Reintroduce the call to
face-set-after-frame-defaults.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 29 Nov 2000 13:57:10 +0000 |
parents | d38d6c74805d |
children | e8594de40767 |
files | src/xfns.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Wed Nov 29 13:14:06 2000 +0000 +++ b/src/xfns.c Wed Nov 29 13:57:10 2000 +0000 @@ -4315,6 +4315,13 @@ SET_FRAME_WIDTH (f, 0); change_frame_size (f, height, width, 1, 0, 0); + /* Set up faces after all frame parameters are known. This call + also merges in face attributes specified for new frames. If we + don't do this, the `menu' face for instance won't have the right + colors, and the menu bar won't appear in the specified colors for + new frames. */ + call1 (Qface_set_after_frame_default, frame); + #ifdef USE_X_TOOLKIT /* Create the menu bar. */ if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f))