diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 17:00:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 17:02:45 +1000 |
commit | cbdc33d903ec6f90a42ec3c31905eeaef9ecf0a2 (patch) | |
tree | 0a8cc268369a40cb47cfdaa7a7b7d2e66f2b21da /src/XGetDCtl.c | |
parent | 78f64722c57ff5ec5d0ae35da0c8f151598e6d6b (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>
Diffstat (limited to 'src/XGetDCtl.c')
-rw-r--r-- | src/XGetDCtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c index 608b22a..8f76a51 100644 --- a/src/XGetDCtl.c +++ b/src/XGetDCtl.c @@ -119,17 +119,17 @@ XGetDeviceControl( } 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: |