summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 17:33:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 17:33:48 +1000
commiteebdca00c416924b0423879a62498df8afed633e (patch)
treeaa0582b45da43657aab816df8459e837b2370d50
parent23246e5788a01091ed666539359614cd5c100a9b (diff)
XISelectEvents, not the singular version
-rw-r--r--include/X11/extensions/XInput2.h2
-rw-r--r--src/XISelEv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 2fe5746..54755cd 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -336,7 +336,7 @@ extern Bool XIGetClientPointer(
int* deviceid
);
-extern int XISelectEvent(
+extern int XISelectEvents(
Display* dpy,
Window win,
XIDeviceEventMask* masks,
diff --git a/src/XISelEv.c b/src/XISelEv.c
index c8f2c15..aef32d1 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -42,7 +42,7 @@ in this Software without prior written authorization from the author.
#include "XIint.h"
int
-XISelectEvent(Display* dpy, Window win, XIDeviceEventMask* masks, int num_masks)
+XISelectEvents(Display* dpy, Window win, XIDeviceEventMask* masks, int num_masks)
{
XIDeviceEventMask *current;
xXISelectEventsReq *req;