Skip imlib cache when reloading due to inotify event

This commit is contained in:
Bert Münnich 2018-02-18 13:14:00 +01:00
parent 48e0b70ad3
commit 4124857137

1
main.c
View File

@ -717,6 +717,7 @@ void run(void)
if (arl_handle(&arl)) { if (arl_handle(&arl)) {
/* when too fast, imlib2 can't load the image */ /* when too fast, imlib2 can't load the image */
nanosleep(&ten_ms, NULL); nanosleep(&ten_ms, NULL);
img_close(&img, true);
load_image(fileidx); load_image(fileidx);
redraw(); redraw();
} }