mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
run: Add startup notification support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
0644f99b64
commit
3f8af0d7c5
1 changed files with 3 additions and 1 deletions
|
@ -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, NULL ) ) {
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue