protocol: clarify wl_data_offer::selection
authorJan Grulich <jgrulich@redhat.com>
Fri, 16 Jul 2021 11:35:37 +0000 (13:35 +0200)
committerSimon Ser <contact@emersion.fr>
Mon, 15 Nov 2021 13:20:41 +0000 (13:20 +0000)
Clearly specify that switching focus within the same client
doesn't mean a new selection will be send.

Signed-off-by: Jan Grulich <jgrulich@redhat.com>
protocol/wayland.xml

index 89e6aab..784d971 100644 (file)
        immediately before receiving keyboard focus and when a new
        selection is set while the client has keyboard focus.  The
        data_offer is valid until a new data_offer or NULL is received
-       or until the client loses keyboard focus.  The client must
-       destroy the previous selection data_offer, if any, upon receiving
-       this event.
+       or until the client loses keyboard focus.  Switching surface with
+       keyboard focus within the same client doesn't mean a new selection
+       will be sent.  The client must destroy the previous selection
+       data_offer, if any, upon receiving this event.
       </description>
       <arg name="id" type="object" interface="wl_data_offer" allow-null="true"
           summary="selection data_offer object"/>