X.Org Multi-Touch Nears Completion

Written by Michael Larabel in X.Org on 17 December 2010 at 04:16 PM EST. 4 Comments
X.ORG
For X.Org Server 1.11, to be released likely in late summer of 2011, there will be proper multi-touch support. For quite a while now there's been work under-way largely by Daniel Stone and then more recently by Canonical. A few weeks back Daniel Stone returned to the multi-touch party to get X Input 2.1 with multi-touch support beaten into shape. It's now nearly ready.

Daniel has published his third revision of these patches to the X mailing list. He also writes on his blog, "[I] have finally posted the third patch series, which I think should be pretty close to final." In that blog post he goes into details how touch events with X Input 2.1 are handled and compared to standard X Input events.
The major difference here is obviously the event delivery: instead of delivering only to the first applicable target, we now deliver to allm grabbing clients, and the first selecting client. An 'owner' flag denotes whether or not the client currently owns the stream: grabbing clients may accept the touch (which ceases delivery to all other clients), or reject it (removing them from the delivery list and passing ownership on to the next client).

X Input 2.1 Multi-Touch is the new solution rather than Canonical's proposed X Gesture Extension. Nokia developers are already working on supporting the new multi-touch capabilities within the Qt tool-kit and there is a GTK multi-touch branch on the GNOME side, but it's currently based upon an earlier specification of X multi-touch.

This work not only touches the xorg-server itself, but also the inputproto, libXi, and X Input components. It will not be in X.Org Server 1.10 due out for release in February, but all indications at this point are that it will be more than ready for its successor, X.Org Server 1.11.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week