diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 12:38:26 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 12:38:26 +0100 |
| commit | 1e07054fbeab6e90f104c279d3246097dd838a17 (patch) | |
| tree | d5369728c02ee5d826b7e104f0b2297832276f94 /src/grail-impl.h | |
| parent | ab67ba5e161c4d65128fc5eada6845a543464759 (diff) | |
Prepare for queued event handling
The current grail operates via callbacks. In order to make grail work
as a pipe, where input and output can be controlled externally, add
the missing event queue for gestures, and align the code to simplify a
switch.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/grail-impl.h')
| -rw-r--r-- | src/grail-impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grail-impl.h b/src/grail-impl.h index dc3b425..2859186 100644 --- a/src/grail-impl.h +++ b/src/grail-impl.h | |||
| @@ -25,11 +25,13 @@ | |||
| 25 | 25 | ||
| 26 | #include <grail-touch.h> | 26 | #include <grail-touch.h> |
| 27 | #include "evbuf.h" | 27 | #include "evbuf.h" |
| 28 | #include "grailbuf.h" | ||
| 28 | 29 | ||
| 29 | struct grail_impl { | 30 | struct grail_impl { |
| 30 | struct touch_dev dev; | 31 | struct touch_dev dev; |
| 31 | struct touch_caps emu; | 32 | struct touch_caps emu; |
| 32 | struct evbuf evbuf; | 33 | struct evbuf evbuf; |
| 34 | struct grailbuf gbuf; | ||
| 33 | int filter_abs; | 35 | int filter_abs; |
| 34 | int pointer_status; | 36 | int pointer_status; |
| 35 | int pointer_x, pointer_y; | 37 | int pointer_x, pointer_y; |
