mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-03 06:46:33 -04:00
Merge branch 'wip/compositor-dnd-cursors' into 'main'
protocol: Make pointer cursor updates responsibility of compositors See merge request wayland/wayland!467
This commit is contained in:
commit
4acc50dc5a
1 changed files with 10 additions and 6 deletions
|
|
@ -538,7 +538,7 @@
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_data_offer" version="3">
|
<interface name="wl_data_offer" version="4">
|
||||||
<description summary="offer to transfer data">
|
<description summary="offer to transfer data">
|
||||||
A wl_data_offer represents a piece of data offered for transfer
|
A wl_data_offer represents a piece of data offered for transfer
|
||||||
by another client (the source client). It is used by the
|
by another client (the source client). It is used by the
|
||||||
|
|
@ -731,7 +731,7 @@
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_data_source" version="3">
|
<interface name="wl_data_source" version="4">
|
||||||
<description summary="offer to transfer data">
|
<description summary="offer to transfer data">
|
||||||
The wl_data_source object is the source side of a wl_data_offer.
|
The wl_data_source object is the source side of a wl_data_offer.
|
||||||
It is created by the source client in a data transfer and
|
It is created by the source client in a data transfer and
|
||||||
|
|
@ -878,15 +878,19 @@
|
||||||
into a "move" operation), so the effects of the final action must
|
into a "move" operation), so the effects of the final action must
|
||||||
always be applied in wl_data_offer.dnd_finished.
|
always be applied in wl_data_offer.dnd_finished.
|
||||||
|
|
||||||
Clients can trigger cursor surface changes from this point, so
|
Compositors should trigger cursor surface changes based on the
|
||||||
they reflect the current action.
|
currently active action. This behavior is mandatory with the version 4
|
||||||
|
of the wl_data_device_manager interface, and optional before that.
|
||||||
|
|
||||||
|
Prior to version 3, the client holding the current wl_data_source
|
||||||
|
may trigger these cursor updates.
|
||||||
</description>
|
</description>
|
||||||
<arg name="dnd_action" type="uint" summary="action selected by the compositor"
|
<arg name="dnd_action" type="uint" summary="action selected by the compositor"
|
||||||
enum="wl_data_device_manager.dnd_action"/>
|
enum="wl_data_device_manager.dnd_action"/>
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_data_device" version="3">
|
<interface name="wl_data_device" version="4">
|
||||||
<description summary="data transfer device">
|
<description summary="data transfer device">
|
||||||
There is one wl_data_device per seat which can be obtained
|
There is one wl_data_device per seat which can be obtained
|
||||||
from the global wl_data_device_manager singleton.
|
from the global wl_data_device_manager singleton.
|
||||||
|
|
@ -1047,7 +1051,7 @@
|
||||||
</request>
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_data_device_manager" version="3">
|
<interface name="wl_data_device_manager" version="4">
|
||||||
<description summary="data transfer interface">
|
<description summary="data transfer interface">
|
||||||
The wl_data_device_manager is a singleton global object that
|
The wl_data_device_manager is a singleton global object that
|
||||||
provides access to inter-client data transfer mechanisms such as
|
provides access to inter-client data transfer mechanisms such as
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue