diff options
| author | Jim Blandy | 1993-05-10 00:25:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-10 00:25:40 +0000 |
| commit | 9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4 (patch) | |
| tree | 218038eba0bc44fecb1c8dd0e77dc7b59486ba94 /src | |
| parent | cb637678719546cb3fe7eb1ab4d86486f18953c8 (diff) | |
| download | emacs-9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4.tar.gz emacs-9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4.zip | |
* 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')
| -rw-r--r-- | src/xfns.c | 2 |
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) | |||
| 1796 | f->display.x->background_pixel, | 1796 | f->display.x->background_pixel, |
| 1797 | DefaultDepth (x_current_display, XDefaultScreen (x_current_display)))); | 1797 | DefaultDepth (x_current_display, XDefaultScreen (x_current_display)))); |
| 1798 | 1798 | ||
| 1799 | init_frame_faces (f); | ||
| 1800 | |||
| 1799 | UNBLOCK_INPUT; | 1801 | UNBLOCK_INPUT; |
| 1800 | } | 1802 | } |
| 1801 | #endif /* HAVE_X11 */ | 1803 | #endif /* HAVE_X11 */ |