logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for Wayland from the source code.

Version 1.24.0                              Mon Jul 28 2025 16:07:33                                wl_global(3)

Field Documentation

wl_global_bind_func_twl_global::bindvoid*wl_global::datastructwl_display*wl_global::displayconststructwl_interface*wl_global::interfacestructwl_listwl_global::linkuint32_twl_global::nameboolwl_global::removeduint32_twl_global::version

Member Function Documentation

structwl_display*wl_global_get_display(conststructwl_global*global)
       Get the display object for the given global

       Parametersglobal The global object

       Returns
           The display object the global is associated with.

       Since
           1.20

   uint32_twl_global_get_name(conststructwl_global*global,conststructwl_client*client)
       Get the name of the global.

       Parametersglobal 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

   uint32_twl_global_get_version(conststructwl_global*global)
       Get the version of the given global.

       Parametersglobal The global object.

       Returns
           The version advertised by the global.

       Since
           1.21

Name

       wl_global

Synopsis

PublicMemberFunctions
       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)

   DataFields
       struct wl_display * display
       const struct wl_interface * interface
       uint32_t name
       uint32_t version
       void * datawl_global_bind_func_tbind
       struct wl_listlink
       bool removed

See Also