summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;