client: Add method to get display for a given proxy

This can be useful for additional validation purposes when handling
proxies. This is similar to existing server side API
wl_global_get_display.

Signed-off-by: David Edmundson <david@davidedmundson.co.uk>
This commit is contained in:
David Edmundson 2023-05-17 12:03:32 +03:00 committed by David Edmundson
parent 379a6f6759
commit edb943dc64
3 changed files with 19 additions and 0 deletions

View file

@ -219,6 +219,9 @@ wl_proxy_get_tag(struct wl_proxy *proxy);
const char *
wl_proxy_get_class(struct wl_proxy *proxy);
struct wl_display *
wl_proxy_get_display(struct wl_proxy *proxy);
void
wl_proxy_set_queue(struct wl_proxy *proxy, struct wl_event_queue *queue);