comparison src/event-Xt.c @ 124:9b50b4588a93 r20-1b15

Import from CVS: tag r20-1b15
author cvs
date Mon, 13 Aug 2007 09:26:39 +0200
parents cca96a509cfe
children b980b6286996
comparison
equal deleted inserted replaced
123:c77884c6318d 124:9b50b4588a93
753 /* If it's in the "Keyboard" character set, downcase it. 753 /* If it's in the "Keyboard" character set, downcase it.
754 The case of those keysyms is too totally random for us to 754 The case of those keysyms is too totally random for us to
755 force anyone to remember them. 755 force anyone to remember them.
756 The case of the other character sets is significant, however. 756 The case of the other character sets is significant, however.
757 */ 757 */
758 if ((((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFF00)) 758 if ((((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFF00) ||
759 (((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFE00))
759 { 760 {
760 char buf [255]; 761 char buf [255];
761 char *s1, *s2; 762 char *s1, *s2;
762 for (s1 = name, s2 = buf; *s1; s1++, s2++) { 763 for (s1 = name, s2 = buf; *s1; s1++, s2++) {
763 if (*s1 == '_') { 764 if (*s1 == '_') {