Clarify that data sources can only be used once

This commit is contained in:
Ivan Molodetskikh 2019-02-01 11:45:04 +03:00
parent caf9c74946
commit 06b41b7ff4
No known key found for this signature in database
GPG key ID: 02CE38DA47E9D691

View file

@ -83,6 +83,9 @@
This request asks the compositor to set the selection to the data from
the source on behalf of the client.
The given source may not be used in any further set_selection or
set_primary_selection requests.
To unset the selection, set the source to NULL.
</description>
<arg name="source" type="object" interface="zwlr_data_control_source_v1"
@ -162,6 +165,9 @@
This request asks the compositor to set the primary selection to the
data from the source on behalf of the client.
The given source may not be used in any further set_selection or
set_primary_selection requests.
To unset the primary selection, set the source to NULL.
The compositor will ignore this request if it does not support primary