summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c6
1 files changed, 6 insertions, 0 deletions
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
}
}