# HG changeset patch # User Jim Blandy # Date 736993540 0 # Node ID 267d29b9490b5f164224d58deefec12bbe9cd33a # Parent 139740855fa6f90099ee881ac5cfb92b3a967c8b * 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. diff -r 139740855fa6 -r 267d29b9490b src/xfns.c --- 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 */