]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Reintroduce the call to
authorGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 13:57:41 +0000 (13:57 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 13:57:41 +0000 (13:57 +0000)
face-set-after-frame-defaults.

src/ChangeLog
src/xfns.c

index 0126808493a92cfeb3c26c0db5ac55077d60f9a7..c8638511c43cb7b795b458ac01116f41cb654942 100644 (file)
@@ -1,5 +1,8 @@
 2000-11-29  Gerd Moellmann  <gerd@gnu.org>
 
+       * 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  <jasonr@gnu.org>
index 322b48c11799d33a5af7cf6ea4a0c542f3d79357..65e917cf4c5b57c4ff9e45512a7e5f55376272d4 100644 (file)
@@ -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))