X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Frestart.c;h=fff0a87f8558a09c56ef2276de4880e4769eec89;hb=7c7bfd770d4fa0d83324619110b4056b4434fe80;hp=f7f1dfc0bb40f954b8496990bdeaf4603465b757;hpb=58d8b90122b33f608b5c4c5b91d15207eb2cecf1;p=chaz%2Fopenbox 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);