From ba161e967b8f994e9c786d65c70318571fbf032b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 21 Mar 2007 16:19:06 +0000 Subject: launch things on the desktop where you ran it. also: kde apps move themselves to the current desktop when they open. what the heck? --- openbox/action.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index e89502f0..4fd86d30 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1109,6 +1109,9 @@ void action_execute(union ActionData *data) env = sn_get_spawn_environment(program, data->execute.name, data->execute.icon_name, + /* launch it on the current + desktop */ + screen_desktop, data->execute.any.time); if (!g_spawn_async(NULL, argv, env, G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, -- cgit v1.2.3