[PATCH void 5/6] Add mode field to xf86InitValuatorAxisStruct.

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 24 18:57:32 PST 2010


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/void.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/void.c b/src/void.c
index e655d92..6b3bcaa 100644
--- a/src/void.c
+++ b/src/void.c
@@ -142,14 +142,16 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
 				 0, /* min val */1, /* max val */
 				 1, /* resolution */
 				 0, /* min_res */
-				 1); /* max_res */
+				 1, /* max_res */
+				 Absolute);
 	  InitValuatorAxisStruct(device,
 				 1,
 				 axes_labels[1],
 				 0, /* min val */1, /* max val */
 				 1, /* resolution */
 				 0, /* min_res */
-				 1); /* max_res */
+				 1, /* max_res */
+				 Absolute);
 	  ErrorF("unable to allocate Valuator class device\n"); 
 	  return !Success;
 	}
-- 
1.7.3.2



More information about the xorg-devel mailing list