mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-04-11 13:29:45 +09:00
Fix some application (using xi) receiving mouse input when UI is shown
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user