summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-06 11:10:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-06 11:11:30 +1000
commit44b80d177f57a5d697402e0bbb1c3bf77d5f39e6 (patch)
tree740704f460b575e529de8253153f7877e8171ba7
parent7bbbce9a834f2549168b63d1c5993440ef325f87 (diff)
Update a stale comment about the use of pEvdev->tool.
Including some typo fixes in the same comment. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 6d16611..ec65d64 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -630,9 +630,9 @@ EvdevPostAbsoluteMotionEvents(InputInfoPtr pInfo, int *num_v, int *first_v,
* pressed. On wacom tablets, this means that the pen is in
* proximity of the tablet. After the pen is removed, BTN_DIGI is
* released, and a (0, 0) absolute event is generated. Checking
- * pEvdev->digi here, lets us ignore that event. pEvdev is
- * initialized to 1 so devices that doesn't use this scheme still
- * just works.
+ * pEvdev->tool here, lets us ignore that event. pEvdev->tool is
+ * initialized to 1 so devices that don't use this scheme still
+ * just work.
*/
if (pEvdev->abs && pEvdev->tool) {
xf86PostMotionEventP(pInfo->dev, TRUE, *first_v, *num_v, v);