summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-21 16:19:06 +0000
committerDana Jansens <danakj@orodu.net>2007-03-21 16:19:06 +0000
commitba161e967b8f994e9c786d65c70318571fbf032b (patch)
tree705443127d52e4ecbcfe9979d3726866e6b93453 /openbox/action.c
parentc4446bebff57d6e1bc9185d1f03aa5cc1995ddae (diff)
launch things on the desktop where you ran it.
also: kde apps move themselves to the current desktop when they open. what the heck?
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c3
1 files changed, 3 insertions, 0 deletions
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,