* queue, reading all the data from the display fd. If the application
* would call \em poll(2) after that it would block, even though there
* might be events queued on the default queue. Those events should be
- * dispatched with \ref wl_display_dispatch_(queue_)pending() before
- * flushing and blocking.
+ * dispatched with \ref wl_display_dispatch_pending() or \ref
+ * wl_display_dispatch_queue_pending() before flushing and blocking.
*/
struct wl_display;
* \return A new event queue associated with this display or NULL on
* failure.
*
- * \memberof wl_event_queue
+ * \memberof wl_display
*/
WL_EXPORT struct wl_event_queue *
wl_display_create_queue(struct wl_display *display)
* with calling wl_display_prepare_read() and wl_display_read_events())
*
* \sa wl_display_roundtrip()
- * \memberof wl_event_queue
+ * \memberof wl_display
*/
WL_EXPORT int
wl_display_roundtrip_queue(struct wl_display *display, struct wl_event_queue *queue)
* with the default queue passed as the queue.
*
* \sa wl_display_prepare_read_queue
- * \memberof wl_event_queue
+ * \memberof wl_display
*/
WL_EXPORT int
wl_display_prepare_read(struct wl_display *display)
* \sa wl_display_dispatch(), wl_display_dispatch_pending(),
* wl_display_dispatch_queue_pending()
*
- * \memberof wl_event_queue
+ * \memberof wl_display
*/
WL_EXPORT int
wl_display_dispatch_queue(struct wl_display *display,
* event queue. On failure -1 is returned and errno set appropriately.
* If there are no events queued, this function returns immediately.
*
- * \memberof wl_event_queue
+ * \memberof wl_display
* \since 1.0.2
*/
WL_EXPORT int