aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'image.c')
-rw-r--r--image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/image.c b/image.c
index a4183b9..9a47a14 100644
--- a/image.c
+++ b/image.c
@@ -48,6 +48,7 @@ void img_init(img_t *img, win_t *win)
imlib_context_set_display(win->env.dpy);
imlib_context_set_visual(win->env.vis);
imlib_context_set_colormap(win->env.cmap);
+ imlib_set_cache_size(CACHE_SIZE);
img->im = NULL;
img->win = win;