mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
core: X permissions is needed to destroy a global
This commit is contained in:
parent
212fe59530
commit
83efdf2340
2 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue