summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorSven Willner <sven.willner@gmail.com>2018-09-13 15:29:57 +0200
committerSven Willner <sven.willner@gmail.com>2018-09-13 15:29:57 +0200
commit3671b53046afbeced26162fc413fcfb7971116b9 (patch)
treee2f5f818d5c11e04f1066d860d71a9865a966469 /src/thumbnail.c
parentdc3d387adf66790b2a9ab2a3b6a67bcb5e6c5a80 (diff)
Inotify: watch parent directory instead of just file
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index b7108c8..761162f 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -795,7 +795,7 @@ void feh_thumbnail_show_fullsize(feh_file *thumbfile)
#endif
feh_reload_image(thumbwin, 1, 1);
#ifdef HAVE_INOTIFY
- winwidget_inotify_add(thumbwin, thumbfile->filename);
+ winwidget_inotify_add(thumbwin, thumbfile);
#endif
}
}