nsxiv4124857
Skip imlib cache when reloading due to inotify event
+1 −0
1 file changed
- M main.c +1 −0
| @@ -717,6 +717,7 @@ void run(void) | |||
| 717 | 717 | if (arl_handle(&arl)) { | |
| 718 | 718 | /* when too fast, imlib2 can't load the image */ | |
| 719 | 719 | nanosleep(&ten_ms, NULL); | |
| 720 | + | img_close(&img, true); | |
| 720 | 721 | load_image(fileidx); | |
| 721 | 722 | redraw(); | |
| 722 | 723 | } | |