summaryrefslogtreecommitdiff
path: root/src/mtview.c
Commit message (Collapse)AuthorAgeFilesLines
* Use utouch-frame instead of grailHenrik Rydberg2011-01-021-45/+67
| | | | | | | | With the introduction of utouch-frame, the dependence of this package may be simplified. This patch removes the dependency on grail, and instead uses evemu and frame, which are targeting touch usage only. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Make devices without both width height and pressure workHenrik Rydberg2010-09-291-1/+5
| | | | | | | | For devices without finger property information, the current code does not display anything. Set a default finger width for frames with zero width, height and pressure. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Temporarily make sure contact area is always definedHenrik Rydberg2010-09-051-0/+2
| | | | | | | | | | | Some devices do not always send touch_minor after touch_major has been set. According to the MT protocol, this case should be treated as if minor is equal to major. This patch makes sure touch_minor is never zero when touch_major is set. When grail v1.0.13 is out, this patch will no longer have any effect. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Fix problem with X event buffersHenrik Rydberg2010-09-041-7/+5
| | | | | | | | It seems flushing is not enough to keep X stable, so check for pending events and extract them when idle. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* capture close button to exit more gracefullyHenrik Rydberg2010-08-301-5/+5
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* reasonable behaviorHenrik Rydberg2010-08-301-29/+54
|
* trying a bit more usefulHenrik Rydberg2010-08-301-9/+34
|
* Simple MT contact drawing applicationHenrik Rydberg2010-08-271-0/+146
Uses grail-touch and mtdev. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>