summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-10 00:25:40 +0000
committerJim Blandy <jimb@redhat.com>1993-05-10 00:25:40 +0000
commit9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4 (patch)
tree218038eba0bc44fecb1c8dd0e77dc7b59486ba94 /src/xfns.c
parentcb637678719546cb3fe7eb1ab4d86486f18953c8 (diff)
downloademacs-9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4.tar.gz
* 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.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
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 */