summaryrefslogtreecommitdiff
path: root/include/exevents.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-02 11:16:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-03 08:39:27 +1000
commit377a5f655ca88cd836da24ab42361df9f3ff51a2 (patch)
treebc6001f642d3fedc6230216663872c2ebd6033c2 /include/exevents.h
parent993ca5acbdccef9e43cd6580e7cc22cfda1a2578 (diff)
Xi: if XISetEventMask fails, return this to the client.
The only failure point can be a BadAlloc. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/exevents.h')
-rw-r--r--include/exevents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exevents.h b/include/exevents.h
index ebe8ab589..39e1c70fe 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -305,7 +305,7 @@ extern void
XISendDeviceChangedEvent(DeviceIntPtr device, DeviceIntPtr master,
DeviceChangedEvent *dce);
-extern void
+extern int
XISetEventMask(DeviceIntPtr dev, WindowPtr win, ClientPtr client,
unsigned int len, unsigned char* mask);