diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-09 15:28:17 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-09 15:36:45 +0100 |
commit | 5e05bbbbcbd45298c48af2b56a33da93d15b8f44 (patch) | |
tree | ac5ba627a63a34bfce2977e3d62344cfab46dba5 /kms | |
parent | 3d9a7065280e64797c5a68c794a04d60fb3f767c (diff) |
Refactor xcomposite
Move common code between cuda/vaapi implementations
into xcomposite file.
This also fixes limited/full range colors on nvidia.
Diffstat (limited to 'kms')
-rw-r--r-- | kms/client/kms_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c index 5306145..57c6ccf 100644 --- a/kms/client/kms_client.c +++ b/kms/client/kms_client.c @@ -212,7 +212,7 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path) { //fprintf(stderr, "No permission:(\n"); } cap_free(kms_server_cap); - } else { + } else if(!inside_flatpak) { if(errno == ENODATA) fprintf(stderr, "gsr info: gsr_kms_client_init: gsr-kms-server is missing sys_admin cap and will require root authentication. To bypass this automatically, run: sudo setcap cap_sys_admin+ep '%s'\n", server_filepath); else |