[PATCH libinput 2/2] Remove mention of delta coordinates having device specific direction

Jonas Ådahl jadahl at gmail.com
Wed Jan 29 12:33:12 PST 2014


The event represent pointer motions on a screen, so this information is
unnecessary. It could also be confused for meaning the provided
coordinate's direction being device specific.

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 src/libinput.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/libinput.h b/src/libinput.h
index 8d347b9..e2d83bf 100644
--- a/src/libinput.h
+++ b/src/libinput.h
@@ -363,9 +363,9 @@ libinput_event_pointer_get_time(
 /**
  * @ingroup event_pointer
  *
- * Return the delta between the last event and the current event. The axis'
- * positive direction is device-specific. For pointer events that are
- * not of type LIBINPUT_EVENT_POINTER_MOTION, this function returns 0.
+ * Return the delta between the last event and the current event. For pointer
+ * events that are not of type LIBINPUT_EVENT_POINTER_MOTION, this function
+ * returns 0.
  *
  * @note It is an application bug to call this function for events other than
  * LIBINPUT_EVENT_POINTER_MOTION.
@@ -379,9 +379,9 @@ libinput_event_pointer_get_dx(
 /**
  * @ingroup event_pointer
  *
- * Return the delta between the last event and the current event. The
- * axis' positive direction is device-specific. For pointer events that are
- * not of type LIBINPUT_EVENT_POINTER_MOTION, this function returns 0.
+ * Return the delta between the last event and the current event. For pointer
+ * events that are not of type LIBINPUT_EVENT_POINTER_MOTION, this function
+ * returns 0.
  *
  * @note It is an application bug to call this function for events other than
  * LIBINPUT_EVENT_POINTER_MOTION.
-- 
1.8.3.2



More information about the wayland-devel mailing list