LWN.net Logo

Excellent article, and a sugestion

Excellent article, and a sugestion

Posted Mar 7, 2012 21:50 UTC (Wed) by mhelsley (subscriber, #11324)
In reply to: Excellent article, and a sugestion by dgm
Parent article: The life story of the XInput multitouch extension

"A solution for such cases would be to define "private" touch zones. Any touch initiated in such zones would be handled exclusively by that application."

Sounds fine for a touchscreen but it doesn't make as much sense on a touchpad where even a small "private" zone would be a poor use of the small area. I think something similar to a keyboard grab -- except for touch input -- might be suitable for the latter. Yet keyboard grabs can be quite annoying if/when applications fail to release them. So I'm not sure what else could reasonably be done to handle the need for "private" input.


(Log in to post comments)

Excellent article, and a sugestion

Posted Mar 8, 2012 7:56 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

mhelsley wrote:
> "A solution for such cases would be to define "private" touch zones. Any touch initiated in such zones would be handled exclusively by that application."

> Sounds fine for a touchscreen but it doesn't make as much sense on a touchpad where even a small "private" zone would be a poor use of the small area.

I realise that this train has left, but what is the reason for handling touch screens and touch pads the same? I would naively assume that all touch pad gestures would automatically go to the currently focussed window.

Excellent article, and a sugestion

Posted Mar 8, 2012 10:25 UTC (Thu) by daniels (subscriber, #16193) [Link]

Yes, this is exactly what the X multitouch support does.

Excellent article, and a sugestion

Posted Jun 7, 2012 10:58 UTC (Thu) by cheako (guest, #81350) [Link]

I think there is a misunderstanding here. I believe that michaeljt is indicating that _only touch pad_ gestures would automatically go to the currently focused window. While it's clear to me that with a touch screen one can interface with any window the user touches.

Thus we are convinced that touch screens and touch pads will have diverging code paths and it would be possible to implement a fix or feature in one with out effecting the other at all.

Thus the solution is to have private zones for a touch screen and use the existing key board locking for a touch pad.

Excellent article, and a sugestion

Posted Jun 7, 2012 10:52 UTC (Thu) by cheako (guest, #81350) [Link]

I like the concept of keyboard grab, however there are currently(IMHO) too many cases where applications should use this and don't.

Another solution is needed, not that I have any ideas. I'm just saying that the current situation is not perfect and if we have the chance we should make things better.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds