From 1e07054fbeab6e90f104c279d3246097dd838a17 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 2 Jan 2011 12:38:26 +0100 Subject: 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 --- src/grail-impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/grail-impl.h') 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 @@ #include #include "evbuf.h" +#include "grailbuf.h" struct grail_impl { struct touch_dev dev; struct touch_caps emu; struct evbuf evbuf; + struct grailbuf gbuf; int filter_abs; int pointer_status; int pointer_x, pointer_y; -- cgit v1.2.3