aboutsummaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drw.h b/drw.h
index 4bcd5ad..d4418cd 100644
--- a/drw.h
+++ b/drw.h
@@ -7,13 +7,15 @@ typedef struct {
typedef struct Fnt {
Display *dpy;
unsigned int h;
- XftFont *xfont;
- FcPattern *pattern;
+ unsigned int ascent;
+ unsigned int descent;
+ XFontStruct *xfont;
+ XFontSet set;
struct Fnt *next;
} Fnt;
enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */
-typedef XftColor Clr;
+typedef XColor Clr;
typedef struct {
unsigned int w, h;