summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-12 16:35:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-12 16:35:56 +0200
commit1413ec25f44075de07e7e64a0d8d3bd6fa989966 (patch)
treefa4543a1e056518861c164591ac318749155ddd6 /src/winwidget.c
parentf8270763d6eb37e944999aa30fb648e564353a46 (diff)
Handle no-longer-valid files in inotify-based auto-reload
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 020ee5b..fa6ac72 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -734,7 +734,7 @@ void feh_event_handle_inotify(void)
} else if (event->mask & (IN_CLOSE_WRITE | IN_MOVED_TO)) {
if (strcmp(event->name, FEH_FILE(windows[j]->file->data)->name) == 0) {
D(("inotify says file changed\n"));
- feh_reload_image(windows[j], 0, 1);
+ feh_reload_image(windows[j], 0, 0);
}
}
break;