Commit 9c7bb45f authored by Jim Blandy's avatar Jim Blandy

* 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.
parent cb637678
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment