diff options
author | ANogin <github@nogin.org> | 2013-12-08 12:21:45 -0800 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-01-12 16:57:56 +0100 |
commit | a961c8b322cd961dee845840c3fbebaff75402b8 (patch) | |
tree | 92f80a50b6ca4f14e1d53525c6449839478dff61 /src/list.c | |
parent | 44d33fc2a05415cf20af360ee9f8bffd0d40460d (diff) |
Pass windidget to feh_action_run, making it possible to use format specifiers
like %o and %z in slideshow actions (I would like to use this to zoom in, pan,
and then use an action to crop the window to zoomed in view).
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,7 +54,7 @@ void init_list_mode(void) file->info->has_alpha ? 'X' : '-', file->filename); } - feh_action_run(file, opt.actions[0]); + feh_action_run(file, opt.actions[0], NULL); } exit(0); } @@ -92,7 +92,7 @@ void real_loadables_mode(int loadable) if (opt.verbose) feh_display_status('.'); puts(file->filename); - feh_action_run(file, opt.actions[0]); + feh_action_run(file, opt.actions[0], NULL); } else { if (opt.verbose) @@ -106,7 +106,7 @@ void real_loadables_mode(int loadable) if (opt.verbose) feh_display_status('.'); puts(file->filename); - feh_action_run(file, opt.actions[0]); + feh_action_run(file, opt.actions[0], NULL); } else { if (opt.verbose) |