proto: clarify that a client bug means ignored and/or disconnected

This commit is contained in:
Peter Hutterer 2024-07-25 12:20:59 +10:00
parent 362c4c392a
commit d6a8a5e94a

View file

@ -926,7 +926,8 @@
Generate a relative motion event on this pointer.
It is a client bug to send this request more than once
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -991,7 +992,8 @@
is silently discarded.
It is a client bug to send this request more than once
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -1055,7 +1057,8 @@
scroll events.
It is a client bug to send this request more than once
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -1076,7 +1079,8 @@
multiple thereof represents a fraction or multiple of a wheel click.
It is a client bug to send this request more than once
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -1101,11 +1105,13 @@
point where further (server-emulated) scroll events from this device are wrong.
It is a client bug to send this request more than once
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a client bug to send this request for an axis that
had a a nonzero value in either ei_scroll.scroll or ei_scroll.scroll_discrete
in the current frame.
in the current frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -1200,7 +1206,8 @@
The button codes must match the defines in linux/input-event-codes.h.
It is a client bug to send more than one button request for the same button
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all button state changes and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
@ -1278,7 +1285,8 @@
The key codes must match the defines in linux/input-event-codes.h.
It is a client bug to send more than one key request for the same key
within the same ei_device.frame.
within the same ei_device.frame and the EIS implementation
may ignore either or all key state changes and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.