Unify code used to execute external programs

This commit is contained in:
o9000
2017-04-29 13:42:37 +02:00
parent e32d2342a6
commit 067234e9fb
11 changed files with 130 additions and 122 deletions

View File

@@ -588,7 +588,7 @@ void execp_action(void *obj, int button, int x, int y, Time time)
execp->area.width,
execp->area.height,
command);
pid_t pid = tint_exec(full_cmd, NULL, NULL, time);
pid_t pid = tint_exec(full_cmd, NULL, NULL, time, obj, x, y);
g_free(full_cmd);
if (pid > 0)
g_tree_insert(execp->backend->cmd_pids, GINT_TO_POINTER(pid), GINT_TO_POINTER(1));