* socket later - typically when the compositor has handled all
* requests and goes back to block in the event loop. This function
* flushes all queued up events for a client immediately.
- *
+ *
* \memberof wl_client
*/
WL_EXPORT void
*
* \param client The client object
* \return The display object the client is associated with.
- *
+ *
* \memberof wl_client
*/
WL_EXPORT struct wl_display *
* WAYLAND_SOCKET environment variable on the client side.
*
* On failure this function sets errno accordingly and returns NULL.
- *
+ *
* \memberof wl_display
*/
WL_EXPORT struct wl_client *
* then connects using socketpair(), this function will return the
* credentials for the compositor. The credentials for the socketpair
* are set at creation time in the compositor.
- *
+ *
* \memberof wl_client
*/
WL_EXPORT void
* \return The object or NULL if there is not object for the given ID
*
* This looks up an object in the client object name space by its
- * object ID.
- *
+ * object ID.
+ *
* \memberof wl_client
*/
WL_EXPORT struct wl_resource *
if (client == NULL)
return NULL;
- wl_list_for_each(resource, list, link) {
- if (resource->client == client)
- return resource;
- }
+ wl_list_for_each(resource, list, link) {
+ if (resource->client == client)
+ return resource;
+ }
- return NULL;
+ return NULL;
}
WL_EXPORT struct wl_client *
*
* This function returns the most recent serial number, but does not
* increment it.
- *
+ *
* \memberof wl_display
*/
WL_EXPORT uint32_t
*
* This function increments the display serial number and returns the
* new value.
- *
+ *
* \memberof wl_display
*/
WL_EXPORT uint32_t
* WL_SHM_FORMAT_XRGB8888 are always supported and not included in the
* array, but all formats added through wl_display_add_shm_format()
* will be in the array.
- *
+ *
* \sa wl_display_add_shm_format()
- *
+ *
* \memberof wl_display
*/
struct wl_array *