diff options
author | Midare Kiyura <puce@gmx.com> | 2008-05-24 16:04:33 -0500 |
---|---|---|
committer | Shawn <sabetts@juicebox.(none)> | 2008-05-24 23:41:09 -0700 |
commit | d37c7484ab881b0283fd4573235b24fe7d1e7af9 (patch) | |
tree | 981341de090bb7834ab4617aed763218d9c7e8f5 /src/data.h | |
parent | c7ec59674cfe315f2a0ea54fc7444b4a6a6a8a67 (diff) | |
download | ratpoison-d37c7484ab881b0283fd4573235b24fe7d1e7af9.zip |
Add xft support
Diffstat (limited to 'src/data.h')
-rw-r--r-- | src/data.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |