dix: switch grab checking from unsigned shorts to unsigned ints

XIAnyModifier is outside of the unsigned short range.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-06-01 12:06:55 +10:00
commit 80ea32ad4f
2 changed files with 17 additions and 17 deletions

View file

@ -146,7 +146,7 @@ typedef struct _OtherInputMasks {
3 buttons. */
typedef struct _DetailRec { /* Grab details may be bit masks */
unsigned short exact;
unsigned int exact;
Mask *pMask;
} DetailRec;