Clipboard protocol requires keyboard
@jadahl
Submitted by Jonas Ådahl Assigned to Wayland bug list
Description
The current version of wl_data_device.selection (i.e. copy-paste offers) requires keyboard focus. In effect, this makes it a requirement to have a keyboard attached in order to copy paste. This is not a reasonable requirement, especially since various types of hardware that may want to run a Wayland compositor with copy-paste capabilities may not have nor be able to have, a keyboard.
This needs to be fixed, probably by extending wl_data_device.selection with a focus like event.
For backward compatibility, we probably need to make this focus like event equivalent to keyboard focus for when the seat has the keyboard capability; but it needs to be sent regardless whether it has or not.