diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-08-06 14:32:50 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-06 14:33:32 +0200 |
| commit | 3b6bc1a7dc5871aef2c47426f87bb409a622de29 (patch) | |
| tree | 1cba64c0399dbb0cfb6d3820f09cf047a6f2bef2 /test/grail-gesture.c | |
| parent | 40d6c7304cf431f13bfe81600656b268c881a4a2 (diff) | |
Remove thread code
The primary usecase of grail involves using it together with the
xserver, which is not threaded. Revert the touch-dev code back to
the state prior to adding the threaded processing. Deferred event
handling can be implemented by other means when needed.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'test/grail-gesture.c')
| -rw-r--r-- | test/grail-gesture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/grail-gesture.c b/test/grail-gesture.c index 18c50c3..16b33ac 100644 --- a/test/grail-gesture.c +++ b/test/grail-gesture.c | |||
| @@ -64,10 +64,8 @@ static void tp_gesture(struct grail *ge, const struct grail_event *ev) | |||
| 64 | 64 | ||
| 65 | static void loop_device(struct grail *ge, int fd) | 65 | static void loop_device(struct grail *ge, int fd) |
| 66 | { | 66 | { |
| 67 | while (!grail_idle(ge, fd, 5000)) { | 67 | while (!grail_idle(ge, fd, 5000)) |
| 68 | grail_pull(ge, fd); | 68 | grail_pull(ge, fd); |
| 69 | fprintf(stderr, "\r"); | ||
| 70 | } | ||
| 71 | } | 69 | } |
| 72 | 70 | ||
| 73 | int main(int argc, char *argv[]) | 71 | int main(int argc, char *argv[]) |
