mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(x_make_gc): Use the default font id of the frame for
GCs.
This commit is contained in:
parent
9c9f2e85eb
commit
74170e3879
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue