diff options
Diffstat (limited to 'src/xrfont.c')
-rw-r--r-- | src/xrfont.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xrfont.c b/src/xrfont.c index d1416bce..9349cee2 100644 --- a/src/xrfont.c +++ b/src/xrfont.c @@ -155,7 +155,9 @@ _XrFontResolveXftFont(XrFont *font, XrGState *gstate, XftFont **xft_font) FcPatternAddMatrix(pattern, "matrix", &fc_matrix); - font->dpy = gstate->dpy; + /* XXX: Need to abandon Xft and use Xc instead */ + /* When I do that I can throw away these Display pointers */ + font->dpy = gstate->surface->dpy; match = XftFontMatch (font->dpy, DefaultScreen(font->dpy), pattern, &result); if (!match) return 0; |