diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-03-25 19:10:19 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-03-28 22:02:11 +0200 |
| commit | 5d7ec311cdef842e60756d9189d09e3814e4ad1d (patch) | |
| tree | 75eb532a7fb1b23744e11ad3c44790d4bbddd434 /src/grail-inserter.h | |
| parent | a0a4c6c30704a792193ff49d7fcaab63dac8a07a (diff) | |
Decouple timeout from discard
Move the actual gesture discard from the recognition phase
to the instantiation phase.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/grail-inserter.h')
| -rw-r--r-- | src/grail-inserter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grail-inserter.h b/src/grail-inserter.h index 12d0dc9..d1faa0a 100644 --- a/src/grail-inserter.h +++ b/src/grail-inserter.h | |||
| @@ -38,6 +38,7 @@ struct slot_state { | |||
| 38 | int type; | 38 | int type; |
| 39 | int priority; | 39 | int priority; |
| 40 | int slice; | 40 | int slice; |
| 41 | int timeout; | ||
| 41 | int id; | 42 | int id; |
| 42 | int status; | 43 | int status; |
| 43 | int nclient; | 44 | int nclient; |
| @@ -91,6 +92,7 @@ void gin_frame_end(struct grail *ge, const struct utouch_frame *frame); | |||
| 91 | int gin_gid_begin(struct grail *ge, int type, int priority, | 92 | int gin_gid_begin(struct grail *ge, int type, int priority, |
| 92 | const struct utouch_frame *frame); | 93 | const struct utouch_frame *frame); |
| 93 | void gin_gid_discard(struct grail *ge, int gid); | 94 | void gin_gid_discard(struct grail *ge, int gid); |
| 95 | void gin_gid_timeout(struct grail *ge, int gid); | ||
| 94 | 96 | ||
| 95 | void gin_gid_event(struct grail *ge, int gid, | 97 | void gin_gid_event(struct grail *ge, int gid, |
| 96 | float x, float y, int ntouch, | 98 | float x, float y, int ntouch, |
