summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-12-17 17:13:34 +0000
committerDaniel Stone <daniel@fooishbar.org>2010-12-31 12:36:44 +0000
commit03f2eb1e156796afb70118d7f7f60ac61beed026 (patch)
treec7ef090096628f9aab2d0570dafcab3489a17619 /include
parent47818287983b04625661b08ae362e0966cddf3e1 (diff)
Input: Set client error value for invalid mask bits
When we send BadValue back to the client for having invalid mask bits, at least tell them what the (first) invalid bit was. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/exevents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exevents.h b/include/exevents.h
index bfee385d3..dc594304f 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -307,6 +307,6 @@ XISetEventMask(DeviceIntPtr dev, WindowPtr win, ClientPtr client,
unsigned int len, unsigned char* mask);
extern int
-XICheckInvalidMaskBits(unsigned char *mask, int len);
+XICheckInvalidMaskBits(ClientPtr client, unsigned char *mask, int len);
#endif /* EXEVENTS_H */