Krolyxon
Commit 4124857

Branches

Refs →

nsxiv4124857

Skip imlib cache when reloading due to inotify event

Author
Bert Münnich
Date
2018-02-18 13:14 +0100
Committer
Bert Münnich · 2018-02-18 14:12 +0100
Parent
48e0b70
Commit
41248571373f28a7cbeab6add6b2b21f68ef9bb5

+1 −0

1 file changed

  1. M main.c +1 −0
M main.c View
@@ -717,6 +717,7 @@ void run(void)
717717 if (arl_handle(&arl)) {
718718 /* when too fast, imlib2 can't load the image */
719719 nanosleep(&ten_ms, NULL);
720+ img_close(&img, true);
720721 load_image(fileidx);
721722 redraw();
722723 }