From 177cbff6af7b9845d592fb0497464d70ee423418 Mon Sep 17 00:00:00 2001 From: Sven Willner Date: Fri, 1 Sep 2017 14:51:21 +0200 Subject: fixed inotify for thumbnail mode --- src/thumbnail.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/thumbnail.c') diff --git a/src/thumbnail.c b/src/thumbnail.c index edf0f4f..b7108c8 100644 --- a/src/thumbnail.c +++ b/src/thumbnail.c @@ -790,7 +790,13 @@ void feh_thumbnail_show_fullsize(feh_file *thumbfile) free(thumbwin->file); thumbwin->file = gib_list_add_front(NULL, thumbfile); winwidget_rename(thumbwin, s); +#ifdef HAVE_INOTIFY + winwidget_inotify_remove(thumbwin); +#endif feh_reload_image(thumbwin, 1, 1); +#ifdef HAVE_INOTIFY + winwidget_inotify_add(thumbwin, thumbfile->filename); +#endif } } -- cgit v1.2.3