aboutsummaryrefslogtreecommitdiff
path: root/kms/client
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-29 19:56:02 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-29 19:56:02 +0100
commit11ba5d6027ae8a97c3cf8f7a6b19cb752d970e82 (patch)
tree971ad30de2bb054d2480f50daea5dcb33a79259e /kms/client
parent7d718336bda72de2ab785dcc26d49c48e2a9b210 (diff)
Restore flatpak spawn gsr server command
Diffstat (limited to 'kms/client')
-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 4730e7c..28922ff 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=gpu-screen-recorder-gtk", "com.dec05eba.gpu_screen_recorder", "--kms-server", "--kms-socket-path", self->initial_socket_path, "--dri-card-path", card_path, NULL };
+ 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 };
execvp(args[0], (char *const*)args);
} else if(has_perm) {
const char *args[] = { server_filepath, self->initial_socket_path, card_path, NULL };