diff options
| author | David Edmundson <kde@davidedmundson.co.uk> | 2023-05-17 12:03:32 +0300 |
|---|---|---|
| committer | David Edmundson <davidedmundson@kde.org> | 2023-08-07 13:38:01 +0000 |
| commit | edb943dc6464697ba13d7df277aef277721764b7 (patch) | |
| tree | 07d1ef7496c3e78acfd906d20be379413c3338c1 /src/wayland-client-core.h | |
| parent | ci: upgrade FreeBSD to 13.2 (diff) | |
| download | wayland-edb943dc6464697ba13d7df277aef277721764b7.tar wayland-edb943dc6464697ba13d7df277aef277721764b7.tar.gz wayland-edb943dc6464697ba13d7df277aef277721764b7.tar.bz2 wayland-edb943dc6464697ba13d7df277aef277721764b7.tar.lz wayland-edb943dc6464697ba13d7df277aef277721764b7.tar.xz wayland-edb943dc6464697ba13d7df277aef277721764b7.tar.zst wayland-edb943dc6464697ba13d7df277aef277721764b7.zip | |
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>
Diffstat (limited to 'src/wayland-client-core.h')
| -rw-r--r-- | src/wayland-client-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland-client-core.h b/src/wayland-client-core.h index ce91a6f..af50f1e 100644 --- a/src/wayland-client-core.h +++ b/src/wayland-client-core.h @@ -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); |
