From 5b6f3c6f7a0e4f1efe3c90865226f02ffa03ca9e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 11 Feb 2010 14:39:09 -0500 Subject: pass an input context to the interactive input function --- openbox/actions.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'openbox/actions.h') diff --git a/openbox/actions.h b/openbox/actions.h index a56ece39..e03bc577 100644 --- a/openbox/actions.h +++ b/openbox/actions.h @@ -19,6 +19,7 @@ #include "misc.h" #include "frame.h" #include "obt/xml.h" +#include "obt/keyboard.h" #include #include @@ -43,9 +44,10 @@ typedef void (*ObActionsShutdownFunc)(void); typedef gboolean (*ObActionsIPreFunc)(guint initial_state, gpointer options); typedef void (*ObActionsIPostFunc)(gpointer options); typedef gboolean (*ObActionsIInputFunc)(guint initial_state, - XEvent *e, - gpointer options, - gboolean *used); + XEvent *e, + ObtIC *ic, + gpointer options, + gboolean *used); typedef void (*ObActionsICancelFunc)(gpointer options); typedef gpointer (*ObActionsIDataSetupFunc)(xmlNodePtr node, ObActionsIPreFunc *pre, -- cgit v1.2.3