diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-22 16:40:11 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-22 16:40:11 +0300 |
commit | a0be30da79e35e7d503c6eeb9021c2f63beb2176 (patch) | |
tree | 429ddccc8647078310157e5b8f0b52240eabc418 | |
parent | b1b3dbfd9b00d47c84c213bc6b7d61c5e8c80466 (diff) |
DeviceAbs{Area,Calib}: properly align 32-bit types
Decorate CARD32s and INT32s with B32.
-rw-r--r-- | XIproto.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -1294,25 +1294,25 @@ typedef struct { typedef struct { CARD16 control B16; CARD16 length B16; - INT32 min_x; - INT32 max_x; - INT32 min_y; - INT32 max_y; - CARD32 flip_x; - CARD32 flip_y; - CARD32 rotation; - CARD32 button_threshold; + INT32 min_x B32; + INT32 max_x B32; + INT32 min_y B32; + INT32 max_y B32; + CARD32 flip_x B32; + CARD32 flip_y B32; + CARD32 rotation B32; + CARD32 button_threshold B32; } xDeviceAbsCalibState; typedef struct { CARD16 control B16; CARD16 length B16; - CARD32 offset_x; - CARD32 offset_y; - CARD32 width; - CARD32 height; - CARD32 screen; - CARD32 following; + CARD32 offset_x B32; + CARD32 offset_y B32; + CARD32 width B32; + CARD32 height B32; + CARD32 screen B32; + CARD32 following B32; } xDeviceAbsAreaState; typedef struct { |