summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
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,