diff options
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r-- | source/x11-helper.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c index 58ef8444..911e62c5 100644 --- a/source/x11-helper.c +++ b/source/x11-helper.c @@ -354,6 +354,7 @@ static unsigned int x11_find_mod_mask ( xkb_stuff *xkb, ... ) mask |= 1 << i; } } + va_end ( names ); return mask; } @@ -613,12 +614,6 @@ static struct unsigned int set; } color_cache[3]; -void color_cache_reset ( void ) -{ - color_cache[BACKGROUND].set = FALSE; - color_cache[BORDER].set = FALSE; - color_cache[SEPARATOR].set = FALSE; -} void color_background ( cairo_t *d ) { if ( !color_cache[BACKGROUND].set ) { |