summaryrefslogtreecommitdiff
path: root/src/XISelEv.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 19:25:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 19:25:15 +1000
commitb4d74eebcec3080fa4ac33c74835246457b00de3 (patch)
treeda1f61fc2e1156d85a4ac23ddda473a3279e8a39 /src/XISelEv.c
parenteebdca00c416924b0423879a62498df8afed633e (diff)
Adust to new device names (less "Device" in function names)
Diffstat (limited to 'src/XISelEv.c')
-rw-r--r--src/XISelEv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/XISelEv.c b/src/XISelEv.c
index aef32d1..fc9f2a2 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -42,11 +42,11 @@ in this Software without prior written authorization from the author.
#include "XIint.h"
int
-XISelectEvents(Display* dpy, Window win, XIDeviceEventMask* masks, int num_masks)
+XISelectEvents(Display* dpy, Window win, XIEventMask* masks, int num_masks)
{
- XIDeviceEventMask *current;
+ XIEventMask *current;
xXISelectEventsReq *req;
- xXIDeviceEventMask mask;
+ xXIEventMask mask;
int i;
int len = 0;
@@ -81,7 +81,7 @@ XISelectEvents(Display* dpy, Window win, XIDeviceEventMask* masks, int num_masks
* and they need to be padded with 0 */
buff = calloc(1, mask.mask_len * 4);
memcpy(buff, current->mask, current->mask_len);
- Data32(dpy, &mask, sizeof(xXIDeviceEventMask));
+ Data32(dpy, &mask, sizeof(xXIEventMask));
Data(dpy, buff, mask.mask_len * 4);
free(buff);
}