mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-05 07:15:46 -04:00
Merge branch 'button_position' into 'main'
protocol: add wl_pointer.warp event See merge request wayland/wayland!340
This commit is contained in:
commit
9aa5cad475
1 changed files with 27 additions and 5 deletions
|
|
@ -1933,7 +1933,7 @@
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_seat" version="10">
|
<interface name="wl_seat" version="11">
|
||||||
<description summary="group of input devices">
|
<description summary="group of input devices">
|
||||||
A seat is a group of keyboards, pointer and touch devices. This
|
A seat is a group of keyboards, pointer and touch devices. This
|
||||||
object is published as a global during start up, or when such a
|
object is published as a global during start up, or when such a
|
||||||
|
|
@ -2067,7 +2067,7 @@
|
||||||
|
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_pointer" version="10">
|
<interface name="wl_pointer" version="11">
|
||||||
<description summary="pointer input device">
|
<description summary="pointer input device">
|
||||||
The wl_pointer interface represents one or more input devices,
|
The wl_pointer interface represents one or more input devices,
|
||||||
such as mice, which control the pointer location and pointer_focus
|
such as mice, which control the pointer location and pointer_focus
|
||||||
|
|
@ -2177,7 +2177,7 @@
|
||||||
<description summary="pointer button event">
|
<description summary="pointer button event">
|
||||||
Mouse button click and release notifications.
|
Mouse button click and release notifications.
|
||||||
|
|
||||||
The location of the click is given by the last motion or
|
The location of the click is given by the last motion, warp or
|
||||||
enter event.
|
enter event.
|
||||||
The time argument is a timestamp with millisecond
|
The time argument is a timestamp with millisecond
|
||||||
granularity, with an undefined base.
|
granularity, with an undefined base.
|
||||||
|
|
@ -2478,9 +2478,31 @@
|
||||||
<arg name="direction" type="uint" enum="axis_relative_direction"
|
<arg name="direction" type="uint" enum="axis_relative_direction"
|
||||||
summary="physical direction relative to axis motion"/>
|
summary="physical direction relative to axis motion"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
|
<!-- Version 11 additions -->
|
||||||
|
|
||||||
|
<event name="warp" since="11">
|
||||||
|
<description summary="pointer warp event">
|
||||||
|
Notification of pointer location change within a surface.
|
||||||
|
|
||||||
|
This location change is not due to events on the input device,
|
||||||
|
but because either the surface under the pointer was moved and
|
||||||
|
thus the relative position of the pointer changed, or because
|
||||||
|
the compositor changed the pointer position in response to an
|
||||||
|
event like pointer confinement being exited.
|
||||||
|
|
||||||
|
The arguments surface_x and surface_y are the location relative to
|
||||||
|
the focused surface.
|
||||||
|
|
||||||
|
This event must not occur in the same wl_pointer.frame as a
|
||||||
|
wl_pointer.enter or wl_pointer.motion event.
|
||||||
|
</description>
|
||||||
|
<arg name="surface_x" type="fixed" summary="surface-local x coordinate"/>
|
||||||
|
<arg name="surface_y" type="fixed" summary="surface-local y coordinate"/>
|
||||||
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_keyboard" version="10">
|
<interface name="wl_keyboard" version="11">
|
||||||
<description summary="keyboard input device">
|
<description summary="keyboard input device">
|
||||||
The wl_keyboard interface represents one or more keyboards
|
The wl_keyboard interface represents one or more keyboards
|
||||||
associated with a seat.
|
associated with a seat.
|
||||||
|
|
@ -2661,7 +2683,7 @@
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="wl_touch" version="10">
|
<interface name="wl_touch" version="11">
|
||||||
<description summary="touchscreen input device">
|
<description summary="touchscreen input device">
|
||||||
The wl_touch interface represents a touchscreen
|
The wl_touch interface represents a touchscreen
|
||||||
associated with a seat.
|
associated with a seat.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue