mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: support getting app_id in pw_check_flatpak
Support getting the Flatpak application ID from the .flatpak-info file, similarly as what xdg-desktop-portal does.
This commit is contained in:
parent
5e5339ce6c
commit
3730e54484
6 changed files with 89 additions and 5 deletions
|
|
@ -252,7 +252,7 @@ context_check_access(void *data, struct pw_impl_client *client)
|
|||
(access = pw_properties_get(impl->properties, "access.force")) != NULL)
|
||||
goto wait_permissions;
|
||||
|
||||
res = pw_check_flatpak(pid);
|
||||
res = pw_check_flatpak(pid, NULL, NULL);
|
||||
if (res != 0) {
|
||||
if (res < 0) {
|
||||
if (res == -EACCES) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue