From 9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 10 May 1993 00:25:40 +0000 Subject: * 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. --- src/xfns.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xfns.c') diff --git a/src/xfns.c b/src/xfns.c index 3aa9b117dab..a02e20de419 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1796,6 +1796,8 @@ x_make_gc (f) f->display.x->background_pixel, DefaultDepth (x_current_display, XDefaultScreen (x_current_display)))); + init_frame_faces (f); + UNBLOCK_INPUT; } #endif /* HAVE_X11 */ -- cgit v1.2.1