mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-11 05:34:41 -04:00
client: add a public function to make a roundtrip on a custom queue
wl_display_roundtrip() works on the default queue. Add a parallel wl_display_roundtrip_queue(). Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
06472737a9
commit
77dd068d42
2 changed files with 23 additions and 3 deletions
|
|
@ -166,6 +166,8 @@ uint32_t wl_display_get_protocol_error(struct wl_display *display,
|
|||
uint32_t *id);
|
||||
|
||||
int wl_display_flush(struct wl_display *display);
|
||||
int wl_display_roundtrip_queue(struct wl_display *display,
|
||||
struct wl_event_queue *queue);
|
||||
int wl_display_roundtrip(struct wl_display *display);
|
||||
struct wl_event_queue *wl_display_create_queue(struct wl_display *display);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue