summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-02-14 11:00:12 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-02-16 16:33:01 -0500
commit5536031bfb7d70b462e65406bcae2a35738a9485 (patch)
treeeac01402d78605f8260bca5fdfa69d527e32e69d /protocol
parent7243062f9346449b4f8657d0d472dc3ffe5b33dc (diff)
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.xml9
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>