summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorMidare Kiyura <puce@gmx.com>2008-05-24 16:04:33 -0500
committerShawn <sabetts@juicebox.(none)>2008-05-24 23:41:09 -0700
commitd37c7484ab881b0283fd4573235b24fe7d1e7af9 (patch)
tree981341de090bb7834ab4617aed763218d9c7e8f5 /src/data.h
parentc7ec59674cfe315f2a0ea54fc7444b4a6a6a8a67 (diff)
downloadratpoison-d37c7484ab881b0283fd4573235b24fe7d1e7af9.zip
Add xft support
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 090c083..1d5a1a8 100644
--- a/src/data.h
+++ b/src/data.h
@@ -29,6 +29,10 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#ifdef USE_XFT_FONT
+#include <X11/Xft/Xft.h>
+#endif
+
typedef struct rp_window rp_window;
typedef struct rp_screen rp_screen;
typedef struct rp_action rp_action;
@@ -168,6 +172,11 @@ struct rp_screen
/* The number of the currently focused frame. One for each screen so
when you switch screens the focus doesn't get frobbed. */
int current_frame;
+
+#ifdef USE_XFT_FONT
+ XftFont *ft_font;
+ XftColor color;
+#endif
};
struct rp_action