From a961c8b322cd961dee845840c3fbebaff75402b8 Mon Sep 17 00:00:00 2001 From: ANogin Date: Sun, 8 Dec 2013 12:21:45 -0800 Subject: 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). --- src/feh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feh.h') 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, ...); -- cgit v1.2.3