summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorANogin <github@nogin.org>2013-12-08 12:21:45 -0800
committerDaniel Friesel <derf@finalrewind.org>2017-01-12 16:57:56 +0100
commita961c8b322cd961dee845840c3fbebaff75402b8 (patch)
tree92f80a50b6ca4f14e1d53525c6449839478dff61 /src/events.c
parent44d33fc2a05415cf20af360ee9f8bffd0d40460d (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/events.c')
-rw-r--r--src/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events.c b/src/events.c
index 4a894e8..b20fd4f 100644
--- a/src/events.c
+++ b/src/events.c
@@ -388,7 +388,7 @@ static void feh_event_handle_ButtonRelease(XEvent * ev)
thumbfile = feh_thumbnail_get_file_from_coords(x, y);
if (thumbfile) {
if (opt.actions[0]) {
- feh_action_run(thumbfile, opt.actions[0]);
+ feh_action_run(thumbfile, opt.actions[0], winwid);
if (!opt.hold_actions[0])
feh_thumbnail_mark_removed(thumbfile, 0);
} else {