On 09/30/2012 07:47 PM, Jason Gerecke wrote:
> Could you explain this in a little more detail? My tests with both
> indirect and direct touch devices haven't revealed any regression like
> this. I admittedly haven't tested the absolute case as thoroughly as
> the relative one (due to a lack of software to visualize my touches),
> but the experience didn't "feel" any different after this patch.
That's what I get for commenting before actually testing the code.
You're right, there's no reason to assume (like I did) that dependent
touch forces the device to be relative.  I guess I'm just having a
really hard time wrapping my head around this dependent touch thing.  It
doesn't really seem powerful enough to do all the gesture processing
outside the driver.

> Use of XIDependentTouch does admittedly cause all touches to be sent
> to the focused window (instead of each touch going to the window
> directly underneath it), but I was running into trouble getting
> touchscreens to work correctly with XIDirectTouch. I'm not sure if it
> was my code or the desktop environment, but I wouldn't expect simply
> switching the type I report the touch as to cause my own code to break
> :D I suppose I should see how my desktop reacts with touch coming
> through evdev instead to be sure though...

I've noticed some issues too [1] (once I turned off easystroke...), but
given that using the touch screen can make other devices misbehave, I
mostly blame the X server (still, I have no idea why gtk3 applications
do such weird things, the pointer events that they receive seem legit).

Tom

[1] https://bugs.freedesktop.org/show_bug.cgi?id=55477

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to