summaryrefslogtreecommitdiff
path: root/openbox/actions/restart.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-08-04 23:35:36 -0400
committerDana Jansens <danakj@orodu.net>2007-08-04 23:35:36 -0400
commitf55ae9e56945892825928cfb021b5e739d0d5224 (patch)
tree19a26efae2532bc046160289adca8a8dc45ac3a7 /openbox/actions/restart.c
parent98b9ed97ebbcf22185359c8f6f1d539a105cd258 (diff)
parentfa085b73389de3af8236919f4e39c4c20d16ed7c (diff)
Merge branch 'backport'
Diffstat (limited to 'openbox/actions/restart.c')
-rw-r--r--openbox/actions/restart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/actions/restart.c b/openbox/actions/restart.c
index f7f1dfc0..fff0a87f 100644
--- a/openbox/actions/restart.c
+++ b/openbox/actions/restart.c
@@ -25,7 +25,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
o = g_new0(Options, 1);
- if ((n = parse_find_node("execute", 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);