all repos — openbox @ 7c7bfd770d4fa0d83324619110b4056b4434fe80

openbox fork - make it a bit more like ryudo

Accept <command> in addition to <execute> for the restart action.
Mikael Magnusson mikachu@comhem.se
commit

7c7bfd770d4fa0d83324619110b4056b4434fe80

parent

648e2b626f2a29a034bde668efc41c78142560a5

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/actions/restart.copenbox/actions/restart.c

@@ -25,7 +25,9 @@ Options *o;

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);