diff options
| author | krolyxon <krolyxon@tutanota.com> | 2022-06-24 14:45:14 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2022-06-24 14:45:14 +0530 |
| commit | 417fc0c1a338de5168c7ba229d2c9c2d930fda82 (patch) | |
| tree | 5b5d57fed3d2322cd05bb99090ca343ce382d5a6 | |
| parent | 159c81ffcf806986d2d727d4c4099a9fb7881834 (diff) | |
enabling emoji support for statusbar
| -rw-r--r-- | drw.c | 12 | ||||
| -rwxr-xr-x | dwm | bin | 79472 -> 79400 bytes |
2 files changed, 0 insertions, 12 deletions
@@ -133,18 +133,6 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) die("no font specified."); } - /* 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 - * https://lists.suckless.org/dev/1701/30932.html - * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349 - * and lots more all over the internet. - */ - FcBool iscol; - if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { - XftFontClose(drw->dpy, xfont); - return NULL; - } font = ecalloc(1, sizeof(Fnt)); font->xfont = xfont; Binary files differ |
