mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
f3026c916e
commit
a3c499493b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue