Predefined atoms are not strictly necessary and may not be useful in all environments, but they will eliminate many InternAtom requests in most applications. Note that they are predefined only in the sense of having numeric values, not in the sense of having required semantics. The core protocol imposes no semantics on these names, but semantics are specified in other X Window System standards, such as the Inter-Client Communication Conventions Manual and the X Logical Font Description Conventions.
The following names have predefined atom values. Note that uppercase and lowercase matter.
ARC | ITALIC_ANGLE | STRING |
ATOM | MAX_SPACE | SUBSCRIPT_X |
BITMAP | MIN_SPACE | SUBSCRIPT_Y |
CAP_HEIGHT | NORM_SPACE | SUPERSCRIPT_X |
CARDINAL | NOTICE | SUPERSCRIPT_Y |
COLORMAP | PIXMAP | UNDERLINE_POSITION |
COPYRIGHT | POINT | UNDERLINE_THICKNESS |
CURSOR | POINT_SIZE | VISUALID |
CUT_BUFFER0 | PRIMARY | WEIGHT |
CUT_BUFFER1 | QUAD_WIDTH | WINDOW |
CUT_BUFFER2 | RECTANGLE | WM_CLASS |
CUT_BUFFER3 | RESOLUTION | WM_CLIENT_MACHINE |
CUT_BUFFER4 | RESOURCE_MANAGER | WM_COMMAND |
CUT_BUFFER5 | RGB_BEST_MAP | WM_HINTS |
CUT_BUFFER6 | RGB_BLUE_MAP | WM_ICON_NAME |
CUT_BUFFER7 | RGB_COLOR_MAP | WM_ICON_SIZE |
DRAWABLE | RGB_DEFAULT_MAP | WM_NAME |
END_SPACE | RGB_GRAY_MAP | WM_NORMAL_HINTS |
FAMILY_NAME | RGB_GREEN_MAP | WM_SIZE_HINTS |
FONT | RGB_RED_MAP | WM_TRANSIENT_FOR |
FONT_NAME | SECONDARY | WM_ZOOM_HINTS |
FULL_NAME | STRIKEOUT_ASCENT | X_HEIGHT |
INTEGER | STRIKEOUT_DESCENT |
To avoid conflicts with possible future names for which semantics might be imposed (either at the protocol level or in terms of higher level user interface models), names beginning with an underscore should be used for atoms that are private to a particular vendor or organization. To guarantee no conflicts between vendors and organizations, additional prefixes need to be used. However, the protocol does not define the mechanism for choosing such prefixes. For names private to a single application or end user but stored in globally accessible locations, it is suggested that two leading underscores be used to avoid conflicts with other names.