Index: ChangeLog =================================================================== RCS file: /cvs/xorg/xc/ChangeLog,v retrieving revision 1.1387 diff -u -r1.1387 ChangeLog --- ChangeLog 5 Oct 2005 04:10:02 -0000 1.1387 +++ ChangeLog 5 Oct 2005 06:11:24 -0000 @@ -1,3 +1,9 @@ +2005-10-05 Daniel Stone + + * include/keysym.h: + * include/keysymdef.h: + Bug #4688: Add numerous mathematical symbols, protected by XK_MATHEMATICAL. + 2005-10-06 Kevin E. Martin * programs/xdm/sessreg.c: Index: include/keysym.h =================================================================== RCS file: /cvs/xorg/xc/include/keysym.h,v retrieving revision 1.2 diff -u -r1.2 keysym.h --- include/keysym.h 23 Apr 2004 18:43:05 -0000 1.2 +++ include/keysym.h 5 Oct 2005 06:11:24 -0000 @@ -69,6 +69,7 @@ #define XK_GEORGIAN #define XK_VIETNAMESE #define XK_CURRENCY +#define XK_MATHEMATICAL #include Index: include/keysymdef.h =================================================================== RCS file: /cvs/xorg/xc/include/keysymdef.h,v retrieving revision 1.3 diff -u -r1.3 keysymdef.h --- include/keysymdef.h 26 Sep 2004 20:46:18 -0000 1.3 +++ include/keysymdef.h 5 Oct 2005 06:11:29 -0000 @@ -2035,3 +2035,44 @@ #define XK_DongSign 0x10020ab /* U+20AB DONG SIGN */ #define XK_EuroSign 0x20ac /* U+20AC EURO SIGN */ #endif /* XK_CURRENCY */ + +#ifdef XK_MATHEMATICAL +/* two and three are defined above. */ +#define XK_zerosuperior 0x2070 /* U+2070 SUPERSCRIPT ZERO */ +#define XK_onesuperior 0x2071 /* U+2071 SUPERSCRIPT ONE */ +#define XK_foursuperior 0x2074 /* U+2074 SUPERSCRIPT FOUR */ +#define XK_fivesuperior 0x2075 /* U+2075 SUPERSCRIPT FIVE */ +#define XK_sixsuperior 0x2076 /* U+2076 SUPERSCRIPT SIX */ +#define XK_sevensuperior 0x2077 /* U+2077 SUPERSCRIPT SEVEN */ +#define XK_eightsuperior 0x2078 /* U+2078 SUPERSCRIPT EIGHT */ +#define XK_ninesuperior 0x2079 /* U+2079 SUPERSCRIPT NINE */ +#define XK_zerosubscript 0x2080 /* U+2080 SUBSCRIPT ZERO */ +#define XK_onesubscript 0x2081 /* U+2081 SUBSCRIPT ONE */ +#define XK_twosubscript 0x2082 /* U+2082 SUBSCRIPT TWO */ +#define XK_threesubscript 0x2083 /* U+2083 SUBSCRIPT THREE */ +#define XK_foursubscript 0x2084 /* U+2084 SUBSCRIPT FOUR */ +#define XK_fivesubscript 0x2085 /* U+2085 SUBSCRIPT FIVE */ +#define XK_sixsubscript 0x2086 /* U+2086 SUBSCRIPT SIX */ +#define XK_sevensubscript 0x2087 /* U+2087 SUBSCRIPT SEVEN */ +#define XK_eightsubscript 0x2088 /* U+2088 SUBSCRIPT EIGHT */ +#define XK_ninesubscript 0x2089 /* U+2089 SUBSCRIPT NINE */ +#define XK_partdifferential 0x2202 /* U+2202 PARTIAL DIFFERENTIAL */ +#define XK_emptyset 0x2205 /* U+2205 NULL SET */ +#define XK_elementof 0x2208 /* U+2208 ELEMENT OF */ +#define XK_notelementof 0x2209 /* U+2209 NOT AN ELEMENT OF */ +#define XK_containsas 0x220B /* U+220B CONTAINS AS MEMBER */ +#define XK_squareroot 0x221A /* U+221A SQUARE ROOT */ +#define XK_cuberoot 0x221B /* U+221B CUBE ROOT */ +#define XK_fourthroot 0x221C /* U+221C FOURTH ROOT */ +#define XK_infinity 0x221E /* U+221E INFINITY */ +#define XK_integral 0x222B /* U+222B INTEGRAL */ +#define XK_dintegral 0x222C /* U+222C DOUBLE INTEGRAL */ +#define XK_tintegral 0x222D /* U+222D TRIPLE INTEGRAL */ +#define XK_therefore 0x2234 /* U+2234 THEREFORE */ +#define XK_because 0x2235 /* U+2235 BECAUSE */ +#define XK_approxeq 0x2248 /* U+2245 ALMOST EQUAL TO */ +#define XK_notapproxeq 0x2247 /* U+2247 NOT ALMOST EQUAL TO */ +#define XK_identical 0x2261 /* U+2261 IDENTICAL TO */ +#define XK_notidentical 0x2262 /* U+2262 NOT IDENTICAL TO */ +#define XK_stricteq 0x2263 /* U+2263 STRICTLY EQUIVALENT TO */ +#endif /* XK_MATHEMATICAL */