summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index 86d254b..42e2a82 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -902,6 +902,13 @@ inline void feh_thumbnail_show_selected()
feh_thumbnail_show_fullsize(td.selected->file);
}
+inline feh_file* feh_thumbnail_get_selected_file()
+{
+ if (td.selected)
+ return td.selected->file;
+ return NULL;
+}
+
int feh_thumbnail_setup_thumbnail_dir(void)
{
int status = 0;