diff options
author | marha <marha@users.sourceforge.net> | 2011-07-18 08:49:24 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-07-18 08:49:24 +0200 |
commit | 772373ccc8da2b2019555228f4972cc0c5a885a4 (patch) | |
tree | 31810c6b5d7fa49e0bb3fa7a51fc2cdcf411c081 /X11/extensions/XI2.h | |
parent | d8e3f99cdf46297afeb26fe15ad30f7c6de8ee7c (diff) | |
download | vcxsrv-772373ccc8da2b2019555228f4972cc0c5a885a4.tar.gz vcxsrv-772373ccc8da2b2019555228f4972cc0c5a885a4.tar.bz2 vcxsrv-772373ccc8da2b2019555228f4972cc0c5a885a4.zip |
Update following xorg packages
inputproto-2.0.2
xproto-7.0.22
resourceproto-1.2.0
Diffstat (limited to 'X11/extensions/XI2.h')
-rw-r--r-- | X11/extensions/XI2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/X11/extensions/XI2.h b/X11/extensions/XI2.h index 6ba1377aa..3c39946f5 100644 --- a/X11/extensions/XI2.h +++ b/X11/extensions/XI2.h @@ -127,7 +127,7 @@ #define XISetMask(ptr, event) (((unsigned char*)(ptr))[(event)>>3] |= (1 << ((event) & 7))) #define XIClearMask(ptr, event) (((unsigned char*)(ptr))[(event)>>3] &= ~(1 << ((event) & 7))) #define XIMaskIsSet(ptr, event) (((unsigned char*)(ptr))[(event)>>3] & (1 << ((event) & 7))) -#define XIMaskLen(event) (((event + 7) >> 3)) +#define XIMaskLen(event) (((event) >> 3) + 1) /* Fake device ID's for event selection */ #define XIAllDevices 0 |