aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-02-21 01:19:29 -0600
committerJesse Luehrs <doy@tozt.net>2012-02-21 01:32:59 -0600
commit9bb42914a45161f9338ce05b4af0ad91c994c4ed (patch)
treec4b93047b97b20ce32cd83fe32f93ae48a6e02da /dzen.h
parent8e7f8c02a1c6f1a916376f43cbce1271225c2ec7 (diff)
downloaddzen-master.tar.gz
dzen-master.zip
also cache XftColorAllocName, for the same reasonHEADmaster
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index fa764f9..4a4bf52 100644
--- a/dzen.h
+++ b/dzen.h
@@ -181,3 +181,7 @@ extern void spawn(const char *arg); /* execute arg */
extern long colorcache_get(const char *name); /* gets a cached color */
extern void colorcache_set(const char *name, long value); /* sets a cached color */
+#ifdef DZEN_XFT
+extern int xftcolorcache_get(const char *name, XftColor *color); /* gets a cached color */
+extern void xftcolorcache_set(const char *name, XftColor *color); /* sets a cached color */
+#endif