From 00f7895d101de2703dbcea3600a68c4f653a0378 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 5 Aug 2010 11:34:08 +0200 Subject: 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 --- include/grail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 { int (*get_clients)(struct grail *ge, struct grail_client_info *client, int max_clients, const struct grail_coord *coords, int num_coords, - const grail_mask_t *types, int num_types); + const grail_mask_t *types, int type_bytes); void (*event)(struct grail *ge, const struct input_event *ev); void (*gesture)(struct grail *ge, -- cgit v1.2.3