diff options
author | Egbert Eich <eich@suse.de> | 2004-01-29 08:07:56 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-01-29 08:07:56 +0000 |
commit | 532eebc568179adf69317855e2c3c9cf305ef81c (patch) | |
tree | 8b77e01f50e6319f4ec96127d9882487d45fd1cf /XKB.h | |
parent | 66aafd71e17dbaeb0ba7fa4bf72f17e57d9022e5 (diff) |
Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-4_3_99_903_specialxf86-012804-2330
Diffstat (limited to 'XKB.h')
-rw-r--r-- | XKB.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,7 +24,7 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ -/* $XFree86: xc/include/extensions/XKB.h,v 1.5 2002/11/20 04:49:01 dawes Exp $ */ +/* $XFree86: xc/include/extensions/XKB.h,v 1.6 2003/12/22 17:48:02 tsi Exp $ */ #ifndef _XKB_H_ #define _XKB_H_ @@ -549,7 +549,8 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #define XkbMaxLegalKeyCode 255 #define XkbMaxKeyCount (XkbMaxLegalKeyCode-XkbMinLegalKeyCode+1) #define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8) -#define XkbIsLegalKeycode(k) (((k)>=XkbMinLegalKeyCode)&&((k)<=XkbMaxLegalKeyCode)) +/* Seems kinda silly to check that an unsigned char is <= 255... */ +#define XkbIsLegalKeycode(k) ((k)>=XkbMinLegalKeyCode) /* * Assorted constants and limits. |