diff options
| author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-02-14 11:00:12 +0200 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-02-16 16:33:01 -0500 |
| commit | 5536031bfb7d70b462e65406bcae2a35738a9485 (patch) | |
| tree | eac01402d78605f8260bca5fdfa69d527e32e69d /protocol | |
| parent | data_device: get rid of attach request (diff) | |
| download | wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar.gz wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar.bz2 wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar.lz wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar.xz wayland-5536031bfb7d70b462e65406bcae2a35738a9485.tar.zst wayland-5536031bfb7d70b462e65406bcae2a35738a9485.zip | |
protocol: remove absolute coordinates from pointer
Remove the absolute coordinate fields from the pointer motion and
pointer_focus events. Clients are not supposed to see any global
coordinates.
Fix wayland-server code accordingly. wayland-client code is unaffected.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/wayland.xml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 45e860a..a40e4b0 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -594,14 +594,11 @@ <event name="motion"> <description summary="pointer motion event"> - Notification of pointer location change. x,y are the absolute - location on the screen. surface_[xy] are the location - relative to the focused surface. + Notification of pointer location change. The arguments surface_[xy] + are the location relative to the focused surface. </description> <arg name="time" type="uint"/> - <arg name="x" type="int"/> - <arg name="y" type="int"/> <arg name="surface_x" type="int"/> <arg name="surface_y" type="int"/> </event> @@ -637,8 +634,6 @@ <arg name="time" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> - <arg name="x" type="int"/> - <arg name="y" type="int"/> <arg name="surface_x" type="int"/> <arg name="surface_y" type="int"/> </event> |
