mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-17 05:34:23 -04:00
Fix WL_EVENT_WRITEABLE typo
This commit is contained in:
parent
c1b9203e5a
commit
d6465c5b40
3 changed files with 6 additions and 6 deletions
|
|
@ -180,7 +180,7 @@ wl_client_connection_data(int fd, uint32_t mask, void *data)
|
|||
|
||||
if (mask & WL_EVENT_READABLE)
|
||||
cmask |= WL_CONNECTION_READABLE;
|
||||
if (mask & WL_EVENT_WRITEABLE)
|
||||
if (mask & WL_EVENT_WRITABLE)
|
||||
cmask |= WL_CONNECTION_WRITABLE;
|
||||
|
||||
len = wl_connection_data(connection, cmask);
|
||||
|
|
@ -261,7 +261,7 @@ wl_client_connection_update(struct wl_connection *connection,
|
|||
if (mask & WL_CONNECTION_READABLE)
|
||||
emask |= WL_EVENT_READABLE;
|
||||
if (mask & WL_CONNECTION_WRITABLE)
|
||||
emask |= WL_EVENT_WRITEABLE;
|
||||
emask |= WL_EVENT_WRITABLE;
|
||||
|
||||
return wl_event_source_fd_update(client->source, emask);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue