From 8ff1bff8f462b15e05fc298704e1e40cb244587f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 12 May 2009 21:33:54 +1000 Subject: Update to new XI2 names --- dix/eventconvert.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dix/eventconvert.c') 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); -- cgit v1.2.3