Skip imlib cache when reloading due to inotify event
This commit is contained in:
parent
48e0b70ad3
commit
4124857137
1 changed files with 1 additions and 0 deletions
1
main.c
1
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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue