mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(realize_face): Change FRAME_X_P to FRAME_WINDOW_P.
This commit is contained in:
parent
7cf80d4efb
commit
192cb6cfa2
@ -5796,7 +5796,7 @@ realize_face (cache, attrs, c, base_face, former_face_id)
|
||||
/* Insert the new face. */
|
||||
cache_face (cache, face, lface_hash (attrs));
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
if (FRAME_X_P (cache->f) && face->font == NULL)
|
||||
if (FRAME_WINDOW_P (cache->f) && face->font == NULL)
|
||||
load_face_font (cache->f, face, c);
|
||||
#endif /* HAVE_WINDOW_SYSTEM */
|
||||
return face;
|
||||
|
Loading…
Reference in New Issue
Block a user