From 4a967a9b436dce9a090c38c40d9c7c7712512449 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 29 Nov 2000 13:57:41 +0000 Subject: [PATCH] (Fx_create_frame): Reintroduce the call to face-set-after-frame-defaults. --- src/ChangeLog | 3 +++ src/xfns.c | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0126808493a..c8638511c43 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-11-29 Gerd Moellmann + * xfns.c (Fx_create_frame): Reintroduce the call to + face-set-after-frame-defaults. + * eval.c (Fsignal): Reset handling_signal. 2000-11-28 Jason Rumney diff --git a/src/xfns.c b/src/xfns.c index 322b48c1179..65e917cf4c5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4315,6 +4315,13 @@ This function is an internal primitive--use `make-frame' instead.") 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)) -- 2.39.5