This bug is copy of xfree86 bug #1347 since I believe it exists in both trees
and I want to get my fix merged into both distributions.
I have two elographics touchscreens connected to Matrox G450 running
Fedora Core 1 (whatever version of XFree86 it is using). I have
problem that the cursor doesn't correctly follow the touch, that is
when I tap in the second touchscreen than where the cursor is
currently, it doesn't go there. I have to keep my finger on the
touchscreen and eventually the cursor goes to the correct
touchscreen. Once it is in correct touchscreen everything works just
I poke around the code in xf86Elo.c and it seems like the call to
xf86XInputSetScreen doesn't get executed properly. THis calls is made
in this driver in xf86EloConvert which is setup as conversion_proc.
I read the documentation for xf86XInputSetScreen in xf86XInput.c and
it says that this method should be called in ReadInput method which
is for this driver method xf86EloReadInput. This seems to be a potential
problem causing the xf86XInputSetScreen to don't get executed. I have talked
about this with Tristan Van Berkom <firstname.lastname@example.org> who confirmed it.
I have create a fix and we have tested with for period of 2-3 months on several
workstations with 2 touchscreens and everything worked fine. I have not
synchronized it against the head 1.17 and the fixed file is attached. Hope you
can include it in the distribution.
Created attachment 213 [details] [review]
Fixed xf86Elo.c against xfree86 version 1.17
Patches should be supplied in unified diff format against the current
X.org sources (not XFree86). We can not use XFree86 sources any longer
in the X.org tree due to licensing changes in the XFree86 source tree.
Can you attach a unified diff based on the most recent version of this
source in the X.org CVS, which adds the features/fixes you would
like to see included in future X.org releases?
Thanks in advance.
Created attachment 218 [details] [review]
Patch using diif -u against head of xf86elo.c in x.org