doc: fix the docs for the connect event

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-08-09 18:48:22 +10:00
parent 4ef359dc9b
commit 0f9030c588
2 changed files with 6 additions and 6 deletions

View file

@ -175,15 +175,15 @@ enum ei_keymap_source {
*/
enum ei_event_type {
/**
* The server has approved the connection to this client. The client
* may now add devices with ei_device_add(). Where the server does
* not approve the connection, @ref EI_EVENT_DISCONNECT is sent
* instead.
* The server has approved the connection to this client. Where the
* server does not approve the connection, @ref EI_EVENT_DISCONNECT is
* sent instead.
*
* This event is only sent once after the initial connection
* request.
*/
EI_EVENT_CONNECT = 1,
/**
* The server has disconnected this client - all resources left to
* reference this server are now obsolete. Once this event has been

View file

@ -87,8 +87,8 @@ enum eis_event_type {
/**
* A client has connected. This is the first event from any new
* client.
* The server is expected to either call eis_event_client_allow() or
* eis_event_client_deny().
* The server is expected to either call eis_event_client_connect() or
* eis_event_client_disconnect().
*/
EIS_EVENT_CLIENT_CONNECT = 1,
/**