diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-07 16:47:25 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-07 16:47:25 +0200 |
| commit | 1681e90809ae248299bc5be5a9af12e871544a7d (patch) | |
| tree | 3a3b57747350b901a6a1eb3b954dbf60747c3957 /src/grail-gestures.h | |
| parent | d148161bfd304ddb155d99fb1eda7b270da8054a (diff) | |
treat one-finger moves in move model and simplify tapping logic
Diffstat (limited to 'src/grail-gestures.h')
| -rw-r--r-- | src/grail-gestures.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/grail-gestures.h b/src/grail-gestures.h index 0447100..6ba6cf7 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h | |||
| @@ -36,7 +36,7 @@ struct filter_model { | |||
| 36 | 36 | ||
| 37 | struct move_model { | 37 | struct move_model { |
| 38 | struct filter_model x, y, r, a; | 38 | struct filter_model x, y, r, a; |
| 39 | int multi, ntouch; | 39 | int single, multi, ntouch; |
| 40 | float dx, dy, dr, da; | 40 | float dx, dy, dr, da; |
| 41 | grail_time_t time; | 41 | grail_time_t time; |
| 42 | }; | 42 | }; |
| @@ -63,7 +63,6 @@ int gru_combo(struct grail *ge, | |||
| 63 | 63 | ||
| 64 | struct tapping_model { | 64 | struct tapping_model { |
| 65 | grail_time_t start; | 65 | grail_time_t start; |
| 66 | float x, y; | ||
| 67 | int status, ntouch; | 66 | int status, ntouch; |
| 68 | int active, gid; | 67 | int active, gid; |
| 69 | }; | 68 | }; |
