aboutsummaryrefslogtreecommitdiff
path: root/kms/client/kms_client.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-29 01:08:08 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-29 01:08:08 +0100
commit29376f0b936070f42a99b3ca0bd23610797e9eff (patch)
treeb49775a26e37b5762d98594661acbac28a69d798 /kms/client/kms_client.c
parent9d658ba002175e40a05052f5ce1101ed03e6a05e (diff)
Run gpu screen recorder gtk as a proxy for gsr kms server when using flatpak
Diffstat (limited to 'kms/client/kms_client.c')
-rw-r--r--kms/client/kms_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index 28922ff..4f5c708 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -246,7 +246,7 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path) {
goto err;
} else if(pid == 0) { /* child */
if(inside_flatpak) {
- const char *args[] = { "flatpak-spawn", "--host", "pkexec", "flatpak", "run", "--command=gsr-kms-server", "com.dec05eba.gpu_screen_recorder", self->initial_socket_path, card_path, NULL };
+ const char *args[] = { "flatpak-spawn", "--host", "pkexec", "flatpak", "run", "--command=gpu-screen-recorder-gtk", "com.dec05eba.gpu_screen_recorder", self->initial_socket_path, card_path, NULL };
execvp(args[0], (char *const*)args);
} else if(has_perm) {
const char *args[] = { server_filepath, self->initial_socket_path, card_path, NULL };