aboutsummaryrefslogtreecommitdiff
path: root/nsxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/nsxiv.h b/nsxiv.h
index c148b24..716b24d 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -383,7 +383,9 @@ int r_mkdir(char*);
/* window.c */
#include <X11/Xutil.h>
+#if HAVE_LIBFONTS
#include <X11/Xft/Xft.h>
+#endif
enum {
BAR_L_LEN = 512,
@@ -420,11 +422,13 @@ struct win {
Window xwin;
win_env_t env;
- XftColor win_bg;
- XftColor win_fg;
+ unsigned long win_bg;
+ unsigned long win_fg;
+ unsigned long mrk_fg;
+#if HAVE_LIBFONTS
XftColor bar_bg;
XftColor bar_fg;
- XftColor mrk_fg;
+#endif
int x;
int y;