changeset 35042:3088c9745e92

(x_create_tip_frame): Call face-set-after-frame-default, like in Fx_create_frame.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 04 Jan 2001 13:55:37 +0000
parents bc813ec7a28d
children f7ca93e40e16
files src/xfns.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Jan 04 13:04:11 2001 +0000
+++ b/src/xfns.c	Thu Jan 04 13:55:37 2001 +0000
@@ -10634,6 +10634,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);
+  
   f->no_split = 1;
 
   UNGCPRO;