summaryrefslogtreecommitdiffstats
path: root/source/dialogs/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/dialogs/run.c')
-rw-r--r--source/dialogs/run.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/dialogs/run.c b/source/dialogs/run.c
index 9a19d662..8b20c290 100644
--- a/source/dialogs/run.c
+++ b/source/dialogs/run.c
@@ -92,7 +92,9 @@ static void exec_cmd ( const char *cmd, int run_in_term )
}
char *path = g_build_filename ( cache_dir, RUN_CACHE_FILE, NULL );
- if ( helper_execute_command ( NULL, lf_cmd, run_in_term ) ) {
+ RofiHelperExecuteContext context = { .name = NULL };
+ // FIXME: assume startup notification support for terminals
+ if ( helper_execute_command ( NULL, lf_cmd, run_in_term, run_in_term ? &context : NULL ) ) {
/**
* This happens in non-critical time (After launching app)
* It is allowed to be a bit slower.