summaryrefslogtreecommitdiff
path: root/include/grail.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-07 19:16:00 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-07 19:16:00 +0200
commitf6e65676026fa9f3f2664100b68ba2c6da376a24 (patch)
treed6a08fca5394c1cd75013a05aafd4af7943298cf /include/grail.h
parentee4a0c6821a1b79c3d18c6ef6d7ed6d37df74755 (diff)
Add configurable pointer gesture
In some applications, it is desirable to treat pointer movements as a gesture. This patch adds a gru configuration parameter which, then true, makes grail emit pointer gesture events. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/grail.h')
-rw-r--r--include/grail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grail.h b/include/grail.h
index e608b05..a778618 100644
--- a/include/grail.h
+++ b/include/grail.h
@@ -89,4 +89,6 @@ void grail_close(struct grail *ge, int fd);
89void grail_get_units(struct grail_coord *min, struct grail_coord *max, 89void grail_get_units(struct grail_coord *min, struct grail_coord *max,
90 const struct grail *ge); 90 const struct grail *ge);
91 91
92int gru_use_pointer_gesture(struct grail *ge, int usage);
93
92#endif 94#endif