This offers more precision when using devices like tablets, and also for transformed surfaces.
Signed-off-by: Daniel Stone <[email protected]> --- protocol/wayland.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) v2: No changes. diff --git a/protocol/wayland.xml b/protocol/wayland.xml index c618c64..9ead4e6 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -345,8 +345,8 @@ <event name="enter"> <arg name="serial" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> - <arg name="x" type="int"/> - <arg name="y" type="int"/> + <arg name="x" type="signed_24_8"/> + <arg name="y" type="signed_24_8"/> <arg name="id" type="object" interface="wl_data_offer"/> </event> @@ -354,8 +354,8 @@ <event name="motion"> <arg name="time" type="uint"/> - <arg name="x" type="int"/> - <arg name="y" type="int"/> + <arg name="x" type="signed_24_8"/> + <arg name="y" type="signed_24_8"/> </event> <event name="drop"/> @@ -725,8 +725,8 @@ </description> <arg name="time" type="uint"/> - <arg name="surface_x" type="int"/> - <arg name="surface_y" type="int"/> + <arg name="surface_x" type="signed_24_8"/> + <arg name="surface_y" type="signed_24_8"/> </event> <event name="button"> @@ -778,8 +778,8 @@ <arg name="serial" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> - <arg name="surface_x" type="int"/> - <arg name="surface_y" type="int"/> + <arg name="surface_x" type="signed_24_8"/> + <arg name="surface_y" type="signed_24_8"/> </event> <event name="pointer_leave"> @@ -805,8 +805,8 @@ <arg name="time" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> <arg name="id" type="int" /> - <arg name="x" type="int" /> - <arg name="y" type="int" /> + <arg name="x" type="signed_24_8" /> + <arg name="y" type="signed_24_8" /> </event> <event name="touch_up"> @@ -818,8 +818,8 @@ <event name="touch_motion"> <arg name="time" type="uint"/> <arg name="id" type="int" /> - <arg name="x" type="int" /> - <arg name="y" type="int" /> + <arg name="x" type="signed_24_8" /> + <arg name="y" type="signed_24_8" /> </event> <event name="touch_frame"> -- 1.7.10 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
