From 41248571373f28a7cbeab6add6b2b21f68ef9bb5 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sun, 18 Feb 2018 13:14:00 +0100 Subject: Skip imlib cache when reloading due to inotify event --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 04e155a..53df538 100644 --- a/main.c +++ b/main.c @@ -717,6 +717,7 @@ void run(void) if (arl_handle(&arl)) { /* when too fast, imlib2 can't load the image */ nanosleep(&ten_ms, NULL); + img_close(&img, true); load_image(fileidx); redraw(); } -- cgit v1.2.3-54-g00ecf