aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-server-core.h
diff options
context:
space:
mode:
authorAndri Yngvason <andri@yngvason.is>2022-11-21 22:08:15 +0000
committerSimon Ser <contact@emersion.fr>2023-02-11 12:19:56 +0000
commitd16d39f74a98eb727319c6c026ba4b82054e6269 (patch)
tree1c35a3c470ef903da71a6e3016615758b79a803c /src/wayland-server-core.h
parentprotocol: add wl_surface.preferred_buffer_transform (diff)
downloadwayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar.gz
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar.bz2
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar.lz
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar.xz
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.tar.zst
wayland-d16d39f74a98eb727319c6c026ba4b82054e6269.zip
wayland-server: Add method to get global name
This is useful for protocol designs where globals need to be referenced in some manner. Signed-off-by: Andri Yngvason <andri@yngvason.is>
Diffstat (limited to 'src/wayland-server-core.h')
-rw-r--r--src/wayland-server-core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index d9917a0..df95821 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -280,6 +280,10 @@ const struct wl_interface *
wl_global_get_interface(const struct wl_global *global);
uint32_t
+wl_global_get_name(const struct wl_global *global,
+ const struct wl_client *client);
+
+uint32_t
wl_global_get_version(const struct wl_global *global);
struct wl_display *