1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

(x_make_gc): Use the default font id of the frame for

GCs.
This commit is contained in:
Kenichi Handa 2008-02-17 02:01:59 +00:00
parent 9c9f2e85eb
commit 74170e3879

View File

@ -3042,6 +3042,11 @@ x_make_gc (f)
Note that many default values are used. */
/* Normal video */
#ifdef USE_FONT_BACKEND
if (enable_font_backend)
gc_values.font = FRAME_X_DISPLAY_INFO (f)->font->fid;
else
#endif
gc_values.font = FRAME_FONT (f)->fid;
gc_values.foreground = FRAME_FOREGROUND_PIXEL (f);
gc_values.background = FRAME_BACKGROUND_PIXEL (f);