X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fexecute.c;h=c534ba8b3de5b5fc629658b592a8c1aee161e7dc;hb=20b8fcfa33feeade5946bc7f3046705da5d164fe;hp=5a7472706bc99b2a58ee48a4430e9a85ef4e3732;hpb=dc94a241c30484611688a8bfb5515577f017529e;p=chaz%2Fopenbox diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 5a747270..c534ba8b 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -5,6 +5,10 @@ #include "obt/paths.h" #include "gettext.h" +#ifdef HAVE_STDLIB_H +# include +#endif + typedef struct { gchar *cmd; gboolean sn; @@ -101,6 +105,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); }