diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-03 01:57:30 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-03 01:57:30 +0100 |
commit | 2a07c741121e737aec9bdd5214ba66efbf252da0 (patch) | |
tree | a717b3328ec4bfcf87d7aa7281261f3e42519537 /src/Process.cpp | |
parent | f526c175f6e2b852c8fe19b666505cfeac36b667 (diff) |
Fix some application (using xi) receiving mouse input when UI is shown
Diffstat (limited to 'src/Process.cpp')
-rw-r--r-- | src/Process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Process.cpp b/src/Process.cpp index 347c485..c5692f5 100644 --- a/src/Process.cpp +++ b/src/Process.cpp @@ -59,7 +59,7 @@ namespace gsr { const pid_t second_child = vfork(); if(second_child == 0) { // child execvp(args[0], (char* const*)args); - perror("execvp"); + perror(args[0]); _exit(127); } else if(second_child != -1) { // TODO: @@ -98,7 +98,7 @@ namespace gsr { close(fds[PIPE_WRITE]); execvp(args[0], (char* const*)args); - perror("execvp"); + perror(args[0]); _exit(127); } else { /* parent */ close(fds[PIPE_WRITE]); |