From 2ea0a921e8d0c100d5f894536a93f0dfdf45f67b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Nov 2024 15:11:50 +0100 Subject: Fix restore portal session option not working, close other notifications when showing a new one --- include/Process.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Process.hpp') diff --git a/include/Process.hpp b/include/Process.hpp index 125a880..731062e 100644 --- a/include/Process.hpp +++ b/include/Process.hpp @@ -12,8 +12,8 @@ namespace gsr { // Arguments ending with NULL bool exec_program_daemonized(const char **args); - // Arguments ending with NULL - pid_t exec_program(const char **args); + // Arguments ending with NULL. |read_fd| can be NULL + pid_t exec_program(const char **args, int *read_fd); // |output_buffer| should be at least PATH_MAX in size bool read_cmdline_arg0(const char *filepath, char *output_buffer); } \ No newline at end of file -- cgit v1.2.3