From 6ed8bd929d3b823c92d63e41d07ae361aa636c52 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 13 Jul 2007 11:37:10 -0400 Subject: [PATCH] let you specify or for execute actions - backwards compat --- openbox/actions/execute.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.2