]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_create_tip_frame): Call face-set-after-frame-default,
authorGerd Moellmann <gerd@gnu.org>
Thu, 4 Jan 2001 13:55:37 +0000 (13:55 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 4 Jan 2001 13:55:37 +0000 (13:55 +0000)
like in Fx_create_frame.

src/xfns.c

index dccd380b2e85daf7bd851fb89f088f649173cc81..5c0d3ec5f6a3c577ab963c5de9be0283c43136b0 100644 (file)
@@ -10634,6 +10634,13 @@ x_create_tip_frame (dpyinfo, parms)
   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;