mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add wl_proxy_get_id()
This commit is contained in:
parent
ac73a74f43
commit
35fc72eb8b
2 changed files with 7 additions and 0 deletions
|
|
@ -583,3 +583,9 @@ wl_proxy_get_user_data(struct wl_proxy *proxy)
|
|||
{
|
||||
return proxy->user_data;
|
||||
}
|
||||
|
||||
WL_EXPORT uint32_t
|
||||
wl_proxy_get_id(struct wl_proxy *proxy)
|
||||
{
|
||||
return proxy->object.id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue