comparison src/xfns.c @ 2731:267d29b9490b

* 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.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 00:25:40 +0000
parents ca45565a3392
children 263aa966f295
comparison
equal deleted inserted replaced
2730:139740855fa6 2731:267d29b9490b
1793 (x_current_display, ROOT_WINDOW, 1793 (x_current_display, ROOT_WINDOW,
1794 gray_bits, gray_width, gray_height, 1794 gray_bits, gray_width, gray_height,
1795 f->display.x->foreground_pixel, 1795 f->display.x->foreground_pixel,
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
1799 init_frame_faces (f);
1798 1800
1799 UNBLOCK_INPUT; 1801 UNBLOCK_INPUT;
1800 } 1802 }
1801 #endif /* HAVE_X11 */ 1803 #endif /* HAVE_X11 */
1802 1804