aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-09 12:04:13 +0200
committerSimon Ser <contact@emersion.fr>2023-05-23 09:33:43 +0000
commita3c499493b10a77562f782d9fbf988f1b93eba9b (patch)
tree74527ca8f4a58e22bb8c16adbe4293159b9d3e94 /protocol
parentprotocol: specify the exact form of premultiplication (diff)
downloadwayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar.gz
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar.bz2
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar.lz
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar.xz
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.tar.zst
wayland-a3c499493b10a77562f782d9fbf988f1b93eba9b.zip
protocol: refer to wl_surface.offset in set_cursor
The offset in wl_surface.attach has been superseded by wl_surface.offset. Refer to the new request instead of using the deprecated one. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 4e9f768..2d5cbe4 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -2016,9 +2016,9 @@
where (x, y) are the coordinates of the pointer location, in
surface-local coordinates.
- On surface.attach requests to the pointer surface, hotspot_x
+ On wl_surface.offset requests to the pointer surface, hotspot_x
and hotspot_y are decremented by the x and y parameters
- passed to the request. Attach must be confirmed by
+ passed to the request. The offset must be applied by
wl_surface.commit as usual.
The hotspot can also be updated by passing the currently set