fix mod size confusion

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2010-06-23 16:25:02 +01:00
parent 8693c2652c
commit b74223eb50
1 changed files with 6 additions and 6 deletions

View File

@ -73,8 +73,8 @@ typedef struct _XkbcAnyAction {
typedef struct _XkbcModAction { typedef struct _XkbcModAction {
unsigned char type; unsigned char type;
uint8_t flags; uint8_t flags;
uint8_t real_mods;
uint32_t mask; uint32_t mask;
uint32_t real_mods;
uint32_t vmods; uint32_t vmods;
} XkbcModAction; } XkbcModAction;
@ -90,19 +90,19 @@ typedef struct _XkbcISOAction {
int16_t group; int16_t group;
uint32_t mask; uint32_t mask;
uint32_t vmods; uint32_t vmods;
uint32_t real_mods; uint8_t real_mods;
uint8_t affect; uint8_t affect;
} XkbcISOAction; } XkbcISOAction;
typedef struct _XkbcCtrlsAction { typedef struct _XkbcCtrlsAction {
unsigned char type; unsigned char type;
unsigned char flags; uint8_t flags;
uint32_t ctrls; uint32_t ctrls;
} XkbcCtrlsAction; } XkbcCtrlsAction;
typedef struct _XkbcDeviceBtnAction { typedef struct _XkbcDeviceBtnAction {
unsigned char type; unsigned char type;
unsigned char flags; uint8_t flags;
uint16_t device; uint16_t device;
uint16_t button; uint16_t button;
uint8_t count; uint8_t count;
@ -163,8 +163,8 @@ typedef struct _XkbcSymInterpretRec {
CARD32 sym; CARD32 sym;
unsigned char flags; unsigned char flags;
unsigned char match; unsigned char match;
unsigned char mods; uint8_t mods; /* XXX real or virt? */
unsigned char virtual_mod; uint32_t virtual_mod;
XkbcAnyAction act; XkbcAnyAction act;
} XkbcSymInterpretRec, *XkbcSymInterpretPtr; } XkbcSymInterpretRec, *XkbcSymInterpretPtr;