summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustsaumit <justsaumit@draconyan.xyz>2022-03-02 08:51:54 +0530
committerjustsaumit <justsaumit@draconyan.xyz>2022-03-02 08:51:54 +0530
commit2506fb17fafaa5c15c973e250dfa500f00e09d91 (patch)
treeb4e63837cf0f4d896f635a917313ddac81b993e7
parentcbbe8109bcb89b5d4acd8d8664c231207138ba55 (diff)
Removed lines in drw.c 143/144
-rw-r--r--config.h2
-rwxr-xr-xdmenubin43624 -> 43520 bytes
-rw-r--r--dmenu.obin35360 -> 35360 bytes
-rw-r--r--drw.c15
-rw-r--r--drw.obin10536 -> 10328 bytes
5 files changed, 2 insertions, 15 deletions
diff --git a/config.h b/config.h
index 1edb647..9db2b9a 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
- "monospace:size=10"
+ "monospace:size=13"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
diff --git a/dmenu b/dmenu
index f88e021..55ceda8 100755
--- a/dmenu
+++ b/dmenu
Binary files differ
diff --git a/dmenu.o b/dmenu.o
index f284532..a961f63 100644
--- a/dmenu.o
+++ b/dmenu.o
Binary files differ
diff --git a/drw.c b/drw.c
index 4cdbcbe..c50cdb6 100644
--- a/drw.c
+++ b/drw.c
@@ -132,20 +132,7 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern)
} else {
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;
font->pattern = pattern;
diff --git a/drw.o b/drw.o
index 769ec78..2b22ad3 100644
--- a/drw.o
+++ b/drw.o
Binary files differ