summaryrefslogtreecommitdiff
path: root/dix/eventconvert.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 21:33:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-16 12:20:58 +1000
commit8ff1bff8f462b15e05fc298704e1e40cb244587f (patch)
tree597332ece4d47659363f41ef4f0f8906f69ec3fd /dix/eventconvert.c
parentbbf266cca3de726e3eb932d66dd5b8981ef40fa8 (diff)
Update to new XI2 names
Diffstat (limited to 'dix/eventconvert.c')
-rw-r--r--dix/eventconvert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 58fd6d2c2..97fc2add3 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -422,9 +422,9 @@ eventToDeviceEvent(DeviceEvent *ev, xEvent **xi)
static int
eventToRawEvent(RawDeviceEvent *ev, xEvent **xi)
{
- xXIRawDeviceEvent* raw;
+ xXIRawEvent* raw;
int vallen, nvals;
- int i, len = sizeof(xXIRawDeviceEvent);
+ int i, len = sizeof(xXIRawEvent);
char *ptr;
FP3232 *axisval;
@@ -435,7 +435,7 @@ eventToRawEvent(RawDeviceEvent *ev, xEvent **xi)
len += vallen * 4; /* valuators mask */
*xi = xcalloc(1, len);
- raw = (xXIRawDeviceEvent*)*xi;
+ raw = (xXIRawEvent*)*xi;
raw->type = GenericEvent;
raw->extension = IReqCode;
raw->evtype = GetXI2Type((InternalEvent*)ev);