summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-25 17:00:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 09:16:56 +1000
commitf63ea39a328ce0e5e6c980243e2ebea15634dc7d (patch)
treedb485f4dd97b118b60bf266fe6dfb7adcd4ab975
parent6e65cf0776019b2eec6be4a06fef7838562e94a8 (diff)
XGetDeviceControl: size the libXi structs, not the wire structs (#20293)
X.Org Bug 20293 <http://bugs.freedesktop.org/show_bug.cgi?id=20293> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit cbdc33d903ec6f90a42ec3c31905eeaef9ecf0a2)
-rw-r--r--src/XGetDCtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c
index bdddfd7..2012ee8 100644
--- a/src/XGetDCtl.c
+++ b/src/XGetDCtl.c
@@ -122,17 +122,17 @@ XGetDeviceControl(dpy, dev, control)
}
case DEVICE_ABS_CALIB:
{
- size += sizeof(xDeviceAbsCalibState);
+ size += sizeof(XDeviceAbsCalibState);
break;
}
case DEVICE_ABS_AREA:
{
- size += sizeof(xDeviceAbsAreaState);
+ size += sizeof(XDeviceAbsAreaState);
break;
}
case DEVICE_CORE:
{
- size += sizeof(xDeviceCoreState);
+ size += sizeof(XDeviceCoreState);
break;
}
default: