X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Factions%2Fexecute.c;h=7e58fe7c7c0178ea9550d14b00f8de2853df1a52;hb=2827b2ce899fb28ab05b369c90126f053d021b6f;hp=606bb15326dd4836fda8ce14dda1ce272d190e2f;hpb=b76ec18d1c8857cf32598c822364298fc535c84e;p=chaz%2Fopenbox diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 606bb153..7e58fe7c 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -39,7 +39,7 @@ 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))) { gchar *s = parse_string(doc, n); o->cmd = parse_expand_tilde(s); g_free(s); @@ -103,8 +103,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) /* sets up the environment */ sn_setup_spawn_environment(program, o->sn_name, o->sn_icon, /* launch it on the current desktop */ - screen_desktop, - data->time); + screen_desktop); } if (!g_spawn_async(NULL, argv, NULL,