From: Dana Jansens Date: Fri, 13 Jul 2007 15:37:10 +0000 (-0400) Subject: let you specify or for execute actions - backwards compat X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6ed8bd929d3b823c92d63e41d07ae361aa636c52;p=chaz%2Fopenbox let you specify or for execute actions - backwards compat --- diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 7e58fe7c..caf1347b 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -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);