diff options
| author | bakkeby <[email protected]> | 2020-05-29 20:43:55 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-05-29 20:43:55 +0200 |
| commit | 7b2c30b371f928fba4f6d0680b6b3396c2b5322c (patch) | |
| tree | 53bad36a41b1749d0bb967c0fa1672536e3b116b /drw.c | |
| parent | 643ea4d84fc7e01875aed9afa851d7114b476e0a (diff) | |
| download | dwm-flexipatch-7b2c30b371f928fba4f6d0680b6b3396c2b5322c.tar.gz dwm-flexipatch-7b2c30b371f928fba4f6d0680b6b3396c2b5322c.zip | |
Adding color emoji patch
Diffstat (limited to 'drw.c')
| -rw-r--r-- | drw.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -150,6 +150,7 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) die("no font specified."); } + #if !COLOR_EMOJI_PATCH /* Do not allow using color fonts. This is a workaround for a BadLength * error from Xft with color glyphs. Modelled on the Xterm workaround. See * https://bugzilla.redhat.com/show_bug.cgi?id=1498269 @@ -162,6 +163,7 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) XftFontClose(drw->dpy, xfont); return NULL; } + #endif // COLOR_EMOJI_PATCH font = ecalloc(1, sizeof(Fnt)); font->xfont = xfont; |
