X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fexecute.c;h=02de01549d9ccac0a88a91c58d4588c6ff78dc90;hb=0667bbc3e2fbd3fa39206e843560735524840d35;hp=7e58fe7c7c0178ea9550d14b00f8de2853df1a52;hpb=8514c1b98cb946bf320ab30ab0785eb9154f0ac9;p=chaz%2Fopenbox diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 7e58fe7c..02de0154 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -23,7 +23,7 @@ static gboolean i_input_func(guint initial_state, static void i_cancel_func(gpointer options); */ -void action_execute_startup() +void action_execute_startup(void) { actions_register("Execute", setup_func, @@ -39,7 +39,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) o = g_new0(Options, 1); - if ((n = parse_find_node("command", node))) { + if ((n = parse_find_node("command", node)) || + (n = parse_find_node("execute", node))) + { gchar *s = parse_string(doc, n); o->cmd = parse_expand_tilde(s); g_free(s);