From 2a07c741121e737aec9bdd5214ba66efbf252da0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 3 Jan 2025 01:57:30 +0100 Subject: Fix some application (using xi) receiving mouse input when UI is shown --- src/Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Process.cpp') 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]); -- cgit v1.2.3