summaryrefslogtreecommitdiff
path: root/include/grail.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-05 11:34:08 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit00f7895d101de2703dbcea3600a68c4f653a0378 (patch)
treee049b7f9f6754c34cac702f72bd561aeea9c71c1 /include/grail.h
parentd7d89e2afae9151f4d16aa71a99eedbf920ecc1a (diff)
Correct mistake in api argument names
The bitmask passed to get_clients takes the number of bytes in the bitmask as argument, not the number of types, as easily assumed given the argument name. This patch changes the name to type_bytes to avoid confusion. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'include/grail.h')
-rw-r--r--include/grail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grail.h b/include/grail.h
index 875d94d..1113188 100644
--- a/include/grail.h
+++ b/include/grail.h
@@ -87,7 +87,7 @@ struct grail {
87 int (*get_clients)(struct grail *ge, 87 int (*get_clients)(struct grail *ge,
88 struct grail_client_info *client, int max_clients, 88 struct grail_client_info *client, int max_clients,
89 const struct grail_coord *coords, int num_coords, 89 const struct grail_coord *coords, int num_coords,
90 const grail_mask_t *types, int num_types); 90 const grail_mask_t *types, int type_bytes);
91 void (*event)(struct grail *ge, 91 void (*event)(struct grail *ge,
92 const struct input_event *ev); 92 const struct input_event *ev);
93 void (*gesture)(struct grail *ge, 93 void (*gesture)(struct grail *ge,