proto: remove vestiges of ei_device.capability

This is now obsolete after [1]. The ei_device.interface event announces
which interfaces are available on the device so we don't need
documentation to say "it's a bug to send this request if the device
doesn't have the capability" since the client won't have the interface
to begin with.

Fixes: a902d5dbd8 ("protocol: replace the capabilities enum with an interface list")
This commit is contained in:
Peter Hutterer 2024-07-25 12:13:10 +10:00
parent 438140feb2
commit 362c4c392a

View file

@ -900,8 +900,7 @@
<interface name="ei_pointer" version="1">
<description summary="pointer object">
Interface for pointer motion requests and events. This interface
is available on devices with the ei_device.capability pointer.
Interface for pointer motion requests and events.
This interface is only provided once per device and where a client
requests ei_pointer.release the interface does not get re-initialized. An
@ -929,9 +928,6 @@
It is a client bug to send this request more than once
within the same ei_device.frame.
It is a client bug to send this request on a device without
the ei_device.capabilities.pointer capability.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
</description>
@ -967,8 +963,7 @@
<interface name="ei_pointer_absolute" version="1">
<description summary="absolute pointer object">
Interface for absolute pointer requests and events. This interface
is available on devices with the ei_device.capability pointer_absolute.
Interface for absolute pointer requests and events.
This interface is only provided once per device and where a client
requests ei_pointer_absolute.release the interface does not get
@ -998,9 +993,6 @@
It is a client bug to send this request more than once
within the same ei_device.frame.
It is a client bug to send this request on a device without
the ei_device.capabilities.pointer_absolute capability.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
</description>
@ -1036,8 +1028,7 @@
<interface name="ei_scroll" version="1">
<description summary="scroll object">
Interface for scroll requests and events. This interface
is available on devices with the ei_device.capability scroll.
Interface for scroll requests and events.
This interface is only provided once per device and where a client
requests ei_scroll.release the interface does not get
@ -1175,8 +1166,7 @@
<interface name="ei_button" version="1">
<description summary="button object">
Interface for button requests and events. This interface
is available on devices with the ei_device.capability button.
Interface for button requests and events.
This interface is only provided once per device and where a client
requests ei_button.release the interface does not get
@ -1251,8 +1241,7 @@
<interface name="ei_keyboard" version="1">
<description summary="keyboard object">
Interface for keyboard requests and events. This interface
is available on devices with the ei_device.capability keyboard.
Interface for keyboard requests and events.
This interface is only provided once per device and where a client
requests ei_keyboard.release the interface does not get re-initialized. An
@ -1384,8 +1373,7 @@
<interface name="ei_touchscreen" version="1">
<description summary="touchscreen object">
Interface for touchscreen requests and events. This interface
is available on devices with the ei_device.capability touchscreen.
Interface for touchscreen requests and events.
This interface is only provided once per device and where a client
requests ei_touchscreen.release the interface does not get re-initialized. An