wl_global(3) Wayland wl_global(3)

wl_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 * wl_global_get_display (const struct wl_global *global)


struct wl_display * display
const struct wl_interface * interface
uint32_t name
uint32_t version
void * data
wl_global_bind_func_t bind
struct wl_list link
bool removed

struct wl_display * wl_global_get_display (const struct wl_global * global)

Get the display object for the given global

Parameters

global The global object

Returns

The display object the global is associated with.

Since

1.20

Get the name of the global.

Parameters

global The global object.
client Client for which to look up the global.

Returns

The name of the global, or 0 if the global is not visible to the client.

Since

1.22

Get the version of the given global.

Parameters

global The global object.

Returns

The version advertised by the global.

Since

1.21

wl_global_bind_func_t wl_global::bind

struct wl_display* wl_global::display

struct wl_list wl_global::link

Generated automatically by Doxygen for Wayland from the source code.

Thu Apr 6 2023 Version 1.22.0