[Xorg-commit] xc/include/extensions XKB.h,1.1.4.1,1.1.4.2

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007


Committed by: kaleb

Update of /cvs/xorg/xc/include/extensions
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/include/extensions

Modified Files:
      Tag: XORG-CURRENT
	XKB.h 
Log Message:
merge most of XFree86 RC3 (4.3.99.903) from vendor branch.
bug #214


Index: XKB.h
===================================================================
RCS file: /cvs/xorg/xc/include/extensions/XKB.h,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/XKB.h	17 Nov 2003 19:03:40 -0000	1.1.4.1
+++ b/XKB.h	23 Feb 2004 21:33:49 -0000	1.1.4.2
@@ -24,7 +24,7 @@
 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 @@
 #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.





More information about the xorg-commit mailing list