Hi all,

I am new to this list. I subscribed, because I wanted to use Xserver (kdrive) 
for an embedded system, so I git-cloned the repository(s), compiled and came 
across two bugs which I have fixed already. For both bugs I have filed 
bug-reports in bugzilla at freedesktop.org, and also attached patches to fix 
the bugs.
So far I have got no reaction, and I wonder if the address 
<[email protected]> is read by anyone at all....?
I would appreciate knowing about the best way to give feedback (patches to 
bugs mostly) to the Xserver project. Posting to this list maybe?

Here are links to the two bug reports:

http://bugs.freedesktop.org/show_bug.cgi?id=20919

http://bugs.freedesktop.org/show_bug.cgi?id=20941

I have attached the patches below for convenience (they are very small and 
simple).

Thanks in advance for any advice.

Best regards,

-- 
David Jander
Protonic Holland.
diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c
index 7ad7a88..3c76473 100644
--- a/hw/kdrive/linux/tslib.c
+++ b/hw/kdrive/linux/tslib.c
@@ -114,7 +114,7 @@ TslibEnable (KdPointerInfo *pi)
     private->raw_event_hook = NULL;
     private->raw_event_closure = NULL;
     if (!pi->path) {
-        pi->path = "/dev/input/touchscreen0";
+        pi->path = KdSaveString("/dev/input/touchscreen0");
         ErrorF("[tslib/TslibEnable] no device path given, trying %s\n", pi->path);
     }
     private->tsDev = ts_open(pi->path, 0);
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
index 2875920..357a7e1 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -1918,8 +1918,8 @@ KdEnqueuePointerEvent(KdPointerInfo *pi, unsigned long flags, int rx, int ry,
     }
     else {
 	if (pi->transformCoordinates) {
-	    x = matrix[0][0] * rx + matrix[0][1] * ry;
-	    y = matrix[1][0] * rx + matrix[1][1] * ry;
+	    x = matrix[0][0] * rx + matrix[0][1] * ry + matrix[0][2];
+	    y = matrix[1][0] * rx + matrix[1][1] * ry + matrix[1][2];
 	}
 	else {
 	    x = rx;
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to