1 #include "openbox/actions.h"
8 static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node);
9 static void free_func(gpointer options);
10 static gboolean run_func(ObActionsData *data, gpointer options);
12 void action_debug_startup()
14 actions_register("Debug",
21 static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
26 o = g_new0(Options, 1);
28 if ((n = parse_find_node("string", node)))
29 o->str = parse_string(doc, n);
33 static void free_func(gpointer options)
43 /* Always return FALSE because its not interactive */
44 static gboolean run_func(ObActionsData *data, gpointer options)
48 if (o->str) g_print("%s\n", o->str);