Fix restore portal session option not working, close other notifications when showing a new one

This commit is contained in:
dec05eba
2024-11-28 15:11:50 +01:00
parent ece3d02e0a
commit 2ea0a921e8
9 changed files with 353 additions and 112 deletions

View File

@@ -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);
}