summaryrefslogtreecommitdiff
path: root/src/feh.h
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/feh.h
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/feh.h')
-rw-r--r--src/feh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feh.h b/src/feh.h
index 65e8393..b66f908 100644
--- a/src/feh.h
+++ b/src/feh.h
@@ -143,7 +143,7 @@ void init_buttonbindings(void);
void feh_event_handle_keypress(XEvent * ev);
void feh_event_handle_generic(winwidget winwid, unsigned int state, KeySym keysym, unsigned int button);
fehkey *feh_str_to_kb(char * action);
-void feh_action_run(feh_file * file, char *action);
+void feh_action_run(feh_file * file, char *action, winwidget winwid);
char *format_size(int size);
char *feh_printf(char *str, feh_file * file, winwidget winwid);
void im_weprintf(winwidget w, char *fmt, ...);