diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2022-10-20 23:53:13 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-27 20:51:51 +0000 |
commit | 6cdeae1becef114c064b7021c5dd59d36630975c (patch) | |
tree | 4bf9490caadffb3422a7b22d2cd0fac7ac030a5f | |
parent | 3815803633a6d3bbde7e0cb9118b834e805cb409 (diff) | |
download | wayland-6cdeae1becef114c064b7021c5dd59d36630975c.tar.gz |
protocol: Clarify meaning of input region for cursors, DnD icons
Input region is ignored for cursors, DnD icons. Current wording
implies that this state is temporary, but surfaces never lose the
role once assigned, so reword to make it clearer.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-rw-r--r-- | protocol/wayland.xml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 0ab57b8..10e039d 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -874,11 +874,8 @@ a drag-and-drop icon. If the icon surface already has another role, it raises a protocol error. - The current and pending input regions of the icon wl_surface are - cleared, and wl_surface.set_input_region is ignored until the - wl_surface is no longer used as the icon surface. When the use - as an icon ends, the current and pending input regions become - undefined, and the wl_surface is unmapped. + The input region is ignored for wl_surfaces with the role of a + drag-and-drop icon. </description> <arg name="source" type="object" interface="wl_data_source" allow-null="true" summary="data source for the eventual transfer"/> <arg name="origin" type="object" interface="wl_surface" summary="surface where the drag originates"/> @@ -2004,11 +2001,9 @@ pointer surface to this request with new values for hotspot_x and hotspot_y. - The current and pending input regions of the wl_surface are - cleared, and wl_surface.set_input_region is ignored until the - wl_surface is no longer used as the cursor. When the use as a - cursor ends, the current and pending input regions become - undefined, and the wl_surface is unmapped. + The input region is ignored for wl_surfaces with the role of + a cursor. When the use as a cursor ends, the wl_surface is + unmapped. The serial parameter must match the latest wl_pointer.enter serial number sent to the client. Otherwise the request will be |