summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-22 16:40:11 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-22 16:40:11 +0300
commita0be30da79e35e7d503c6eeb9021c2f63beb2176 (patch)
tree429ddccc8647078310157e5b8f0b52240eabc418
parentb1b3dbfd9b00d47c84c213bc6b7d61c5e8c80466 (diff)
DeviceAbs{Area,Calib}: properly align 32-bit types
Decorate CARD32s and INT32s with B32.
-rw-r--r--XIproto.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/XIproto.h b/XIproto.h
index e3c6d6b..36b5a49 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -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 {