From 1b33ab6c0d9117a84325e1bc01489bde566cda64 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 21 Jan 2008 22:27:03 -0500 Subject: use the for startup notfication in the execute action. when present don't use the check against the binary. --- openbox/actions/execute.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/actions') diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 02de0154..9ab20d71 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -104,6 +104,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) program = g_path_get_basename(argv[0]); /* sets up the environment */ sn_setup_spawn_environment(program, o->sn_name, o->sn_icon, + o->sn_wmclass, /* launch it on the current desktop */ screen_desktop); } -- cgit v1.2.3 From a4d13100e67791955eef10876c6784748aff2fed Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 27 Jan 2008 03:48:49 -0500 Subject: use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks --- openbox/actions/execute.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/actions') diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 9ab20d71..a857b1b8 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -4,6 +4,10 @@ #include "openbox/screen.h" #include "gettext.h" +#ifdef HAVE_STDLIB_H +# include +#endif + typedef struct { gchar *cmd; gboolean sn; -- cgit v1.2.3