From 8bbf06f8d0056ae30fdfaf260000e763fad2345c Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 5 Aug 2010 15:26:16 +0200 Subject: make event units public in the api Add grail_get_units() to the api, so so that applications can extract the min/max coordinates used in the gesture events. Signed-off-by: Henrik Rydberg --- include/grail.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/grail.h') diff --git a/include/grail.h b/include/grail.h index a100b36..0fa4473 100644 --- a/include/grail.h +++ b/include/grail.h @@ -88,4 +88,7 @@ int grail_idle(struct grail *ge, int fd, int ms); int grail_pull(struct grail *ge, int fd); void grail_close(struct grail *ge, int fd); +void grail_get_units(struct grail_coord *min, struct grail_coord *max, + const struct grail *ge); + #endif -- cgit v1.2.3