From 9bb42914a45161f9338ce05b4af0ad91c994c4ed Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 21 Feb 2012 01:19:29 -0600 Subject: also cache XftColorAllocName, for the same reason --- dzen.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dzen.h') 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 -- cgit v1.2.3-54-g00ecf