summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c4
1 files changed, 3 insertions, 1 deletions
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);