changeset 2731:267d29b9490b

* xfns.c (x_make_gc): After building the GC's for the frame, call init_frame_faces to set up the first two faces. * xfaces.c (init_frame_faces): Don't just try to copy the default and mode line faces from some other random frame; instead, consult the normal_gc and reverse_gc members of the frame, and build the faces based on their parameters.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 00:25:40 +0000
parents 139740855fa6
children 8b55aa587d3c
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Mon May 10 00:25:17 1993 +0000
+++ b/src/xfns.c	Mon May 10 00:25:40 1993 +0000
@@ -1796,6 +1796,8 @@
 	f->display.x->background_pixel,
 	DefaultDepth (x_current_display, XDefaultScreen (x_current_display))));
 
+  init_frame_faces (f);
+
   UNBLOCK_INPUT;
 }
 #endif /* HAVE_X11 */