mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
client: fix an inconsistency in documentation
The errno is set to EAGAIN when there are undispatched events, according to L1066 of wayland-client.c.
This commit is contained in:
parent
5a92553237
commit
5cf31443c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1087,7 +1087,7 @@ wl_display_prepare_read_queue(struct wl_display *display,
|
|||
* calls wl_display_read_events(), no other thread will read from the
|
||||
* file descriptor. This only succeeds if the event queue is empty
|
||||
* though, and if there are undispatched events in the queue, -1 is
|
||||
* returned and errno set to EBUSY.
|
||||
* returned and errno set to EAGAIN.
|
||||
*
|
||||
* If a thread successfully calls wl_display_prepare_read(), it must
|
||||
* either call wl_display_read_events() when it's ready or cancel the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue