diff --git a/src/pipewire/core.h b/src/pipewire/core.h index d2ad0c238..6afbc6428 100644 --- a/src/pipewire/core.h +++ b/src/pipewire/core.h @@ -476,7 +476,8 @@ struct pw_registry_methods { * * Try to destroy the global object. * - * \param id the global id to destroy + * \param id the global id to destroy. The client needs X permissions + * on the global. */ int (*destroy) (void *object, uint32_t id); }; diff --git a/src/pipewire/link.h b/src/pipewire/link.h index 26b929436..ef96dfe21 100644 --- a/src/pipewire/link.h +++ b/src/pipewire/link.h @@ -31,7 +31,7 @@ extern "C" { #define PW_TYPE_INTERFACE_Link PW_TYPE_INFO_INTERFACE_BASE "Link" -#define PW_LINK_PERM_MASK PW_PERM_R +#define PW_LINK_PERM_MASK PW_PERM_R | PW_PERM_X #define PW_VERSION_LINK 3 struct pw_link;