summaryrefslogtreecommitdiff
path: root/src/gebuf.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-01-02 11:00:52 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-01-02 12:39:07 +0100
commitc0666a895e7fe8e488332263fd106ced0ed7cab7 (patch)
treefca88fbee4aaed6e1eed050a749ce6246a7f1966 /src/gebuf.h
parent1e07054fbeab6e90f104c279d3246097dd838a17 (diff)
Replace touch logic with utouch frame engine
The original grail uses an internal touch framework and exports some touch information as extended attributes to gesture events. This was never quite the intention, but rather to expose gestures and touches on a similar footing, such that grail can be input agnostic. This patch starts off by replacing the internal touch framework with the utouch-frame engine. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/gebuf.h')
-rw-r--r--src/gebuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gebuf.h b/src/gebuf.h
index 460e134..0cd9219 100644
--- a/src/gebuf.h
+++ b/src/gebuf.h
@@ -23,7 +23,7 @@
23#ifndef _GRAIL_GESTURE_BUFFER_H 23#ifndef _GRAIL_GESTURE_BUFFER_H
24#define _GRAIL_GESTURE_BUFFER_H 24#define _GRAIL_GESTURE_BUFFER_H
25 25
26#include <grail.h> 26#include "grail-impl.h"
27 27
28#define DIM_GESTURE_EVENTS 512 28#define DIM_GESTURE_EVENTS 512
29 29
@@ -31,7 +31,7 @@ struct gesture_event {
31 int status; 31 int status;
32 int ntouch; 32 int ntouch;
33 int nprop; 33 int nprop;
34 touch_time_t time; 34 utouch_frame_time_t time;
35 struct grail_coord pos; 35 struct grail_coord pos;
36 grail_prop_t prop[DIM_GRAIL_PROP]; 36 grail_prop_t prop[DIM_GRAIL_PROP];
37}; 37};