aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index f31a629..9d17502 100644
--- a/dzen.h
+++ b/dzen.h
@@ -10,6 +10,9 @@
#ifdef DZEN_XINERAMA
#include <X11/extensions/Xinerama.h>
#endif
+#ifdef DZEN_XFT
+#include <X11/Xft/Xft.h>
+#endif
#define FONT "-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*"
#define BGCOLOR "#111111"
@@ -48,8 +51,14 @@ struct Fnt {
int ascent;
int descent;
int height;
+#ifdef DZEN_XFT
+ XftFont *xftfont;
+ XGlyphInfo *extents;
+ int width;
+#endif
};
+
/* title window */
struct TW {
int x, y, width, height;