initatoms.c 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /* THIS IS A GENERATED FILE
  2. *
  3. * Do not change! Changing this file implies a protocol change!
  4. */
  5. #ifdef HAVE_DIX_CONFIG_H
  6. #include <dix-config.h>
  7. #endif
  8. #include <X11/X.h>
  9. #include <X11/Xatom.h>
  10. #include "misc.h"
  11. #include "dix.h"
  12. void
  13. MakePredeclaredAtoms()
  14. {
  15. if (MakeAtom("PRIMARY", 7, 1) != XA_PRIMARY)
  16. AtomError();
  17. if (MakeAtom("SECONDARY", 9, 1) != XA_SECONDARY)
  18. AtomError();
  19. if (MakeAtom("ARC", 3, 1) != XA_ARC)
  20. AtomError();
  21. if (MakeAtom("ATOM", 4, 1) != XA_ATOM)
  22. AtomError();
  23. if (MakeAtom("BITMAP", 6, 1) != XA_BITMAP)
  24. AtomError();
  25. if (MakeAtom("CARDINAL", 8, 1) != XA_CARDINAL)
  26. AtomError();
  27. if (MakeAtom("COLORMAP", 8, 1) != XA_COLORMAP)
  28. AtomError();
  29. if (MakeAtom("CURSOR", 6, 1) != XA_CURSOR)
  30. AtomError();
  31. if (MakeAtom("CUT_BUFFER0", 11, 1) != XA_CUT_BUFFER0)
  32. AtomError();
  33. if (MakeAtom("CUT_BUFFER1", 11, 1) != XA_CUT_BUFFER1)
  34. AtomError();
  35. if (MakeAtom("CUT_BUFFER2", 11, 1) != XA_CUT_BUFFER2)
  36. AtomError();
  37. if (MakeAtom("CUT_BUFFER3", 11, 1) != XA_CUT_BUFFER3)
  38. AtomError();
  39. if (MakeAtom("CUT_BUFFER4", 11, 1) != XA_CUT_BUFFER4)
  40. AtomError();
  41. if (MakeAtom("CUT_BUFFER5", 11, 1) != XA_CUT_BUFFER5)
  42. AtomError();
  43. if (MakeAtom("CUT_BUFFER6", 11, 1) != XA_CUT_BUFFER6)
  44. AtomError();
  45. if (MakeAtom("CUT_BUFFER7", 11, 1) != XA_CUT_BUFFER7)
  46. AtomError();
  47. if (MakeAtom("DRAWABLE", 8, 1) != XA_DRAWABLE)
  48. AtomError();
  49. if (MakeAtom("FONT", 4, 1) != XA_FONT)
  50. AtomError();
  51. if (MakeAtom("INTEGER", 7, 1) != XA_INTEGER)
  52. AtomError();
  53. if (MakeAtom("PIXMAP", 6, 1) != XA_PIXMAP)
  54. AtomError();
  55. if (MakeAtom("POINT", 5, 1) != XA_POINT)
  56. AtomError();
  57. if (MakeAtom("RECTANGLE", 9, 1) != XA_RECTANGLE)
  58. AtomError();
  59. if (MakeAtom("RESOURCE_MANAGER", 16, 1) != XA_RESOURCE_MANAGER)
  60. AtomError();
  61. if (MakeAtom("RGB_COLOR_MAP", 13, 1) != XA_RGB_COLOR_MAP)
  62. AtomError();
  63. if (MakeAtom("RGB_BEST_MAP", 12, 1) != XA_RGB_BEST_MAP)
  64. AtomError();
  65. if (MakeAtom("RGB_BLUE_MAP", 12, 1) != XA_RGB_BLUE_MAP)
  66. AtomError();
  67. if (MakeAtom("RGB_DEFAULT_MAP", 15, 1) != XA_RGB_DEFAULT_MAP)
  68. AtomError();
  69. if (MakeAtom("RGB_GRAY_MAP", 12, 1) != XA_RGB_GRAY_MAP)
  70. AtomError();
  71. if (MakeAtom("RGB_GREEN_MAP", 13, 1) != XA_RGB_GREEN_MAP)
  72. AtomError();
  73. if (MakeAtom("RGB_RED_MAP", 11, 1) != XA_RGB_RED_MAP)
  74. AtomError();
  75. if (MakeAtom("STRING", 6, 1) != XA_STRING)
  76. AtomError();
  77. if (MakeAtom("VISUALID", 8, 1) != XA_VISUALID)
  78. AtomError();
  79. if (MakeAtom("WINDOW", 6, 1) != XA_WINDOW)
  80. AtomError();
  81. if (MakeAtom("WM_COMMAND", 10, 1) != XA_WM_COMMAND)
  82. AtomError();
  83. if (MakeAtom("WM_HINTS", 8, 1) != XA_WM_HINTS)
  84. AtomError();
  85. if (MakeAtom("WM_CLIENT_MACHINE", 17, 1) != XA_WM_CLIENT_MACHINE)
  86. AtomError();
  87. if (MakeAtom("WM_ICON_NAME", 12, 1) != XA_WM_ICON_NAME)
  88. AtomError();
  89. if (MakeAtom("WM_ICON_SIZE", 12, 1) != XA_WM_ICON_SIZE)
  90. AtomError();
  91. if (MakeAtom("WM_NAME", 7, 1) != XA_WM_NAME)
  92. AtomError();
  93. if (MakeAtom("WM_NORMAL_HINTS", 15, 1) != XA_WM_NORMAL_HINTS)
  94. AtomError();
  95. if (MakeAtom("WM_SIZE_HINTS", 13, 1) != XA_WM_SIZE_HINTS)
  96. AtomError();
  97. if (MakeAtom("WM_ZOOM_HINTS", 13, 1) != XA_WM_ZOOM_HINTS)
  98. AtomError();
  99. if (MakeAtom("MIN_SPACE", 9, 1) != XA_MIN_SPACE)
  100. AtomError();
  101. if (MakeAtom("NORM_SPACE", 10, 1) != XA_NORM_SPACE)
  102. AtomError();
  103. if (MakeAtom("MAX_SPACE", 9, 1) != XA_MAX_SPACE)
  104. AtomError();
  105. if (MakeAtom("END_SPACE", 9, 1) != XA_END_SPACE)
  106. AtomError();
  107. if (MakeAtom("SUPERSCRIPT_X", 13, 1) != XA_SUPERSCRIPT_X)
  108. AtomError();
  109. if (MakeAtom("SUPERSCRIPT_Y", 13, 1) != XA_SUPERSCRIPT_Y)
  110. AtomError();
  111. if (MakeAtom("SUBSCRIPT_X", 11, 1) != XA_SUBSCRIPT_X)
  112. AtomError();
  113. if (MakeAtom("SUBSCRIPT_Y", 11, 1) != XA_SUBSCRIPT_Y)
  114. AtomError();
  115. if (MakeAtom("UNDERLINE_POSITION", 18, 1) != XA_UNDERLINE_POSITION)
  116. AtomError();
  117. if (MakeAtom("UNDERLINE_THICKNESS", 19, 1) != XA_UNDERLINE_THICKNESS)
  118. AtomError();
  119. if (MakeAtom("STRIKEOUT_ASCENT", 16, 1) != XA_STRIKEOUT_ASCENT)
  120. AtomError();
  121. if (MakeAtom("STRIKEOUT_DESCENT", 17, 1) != XA_STRIKEOUT_DESCENT)
  122. AtomError();
  123. if (MakeAtom("ITALIC_ANGLE", 12, 1) != XA_ITALIC_ANGLE)
  124. AtomError();
  125. if (MakeAtom("X_HEIGHT", 8, 1) != XA_X_HEIGHT)
  126. AtomError();
  127. if (MakeAtom("QUAD_WIDTH", 10, 1) != XA_QUAD_WIDTH)
  128. AtomError();
  129. if (MakeAtom("WEIGHT", 6, 1) != XA_WEIGHT)
  130. AtomError();
  131. if (MakeAtom("POINT_SIZE", 10, 1) != XA_POINT_SIZE)
  132. AtomError();
  133. if (MakeAtom("RESOLUTION", 10, 1) != XA_RESOLUTION)
  134. AtomError();
  135. if (MakeAtom("COPYRIGHT", 9, 1) != XA_COPYRIGHT)
  136. AtomError();
  137. if (MakeAtom("NOTICE", 6, 1) != XA_NOTICE)
  138. AtomError();
  139. if (MakeAtom("FONT_NAME", 9, 1) != XA_FONT_NAME)
  140. AtomError();
  141. if (MakeAtom("FAMILY_NAME", 11, 1) != XA_FAMILY_NAME)
  142. AtomError();
  143. if (MakeAtom("FULL_NAME", 9, 1) != XA_FULL_NAME)
  144. AtomError();
  145. if (MakeAtom("CAP_HEIGHT", 10, 1) != XA_CAP_HEIGHT)
  146. AtomError();
  147. if (MakeAtom("WM_CLASS", 8, 1) != XA_WM_CLASS)
  148. AtomError();
  149. if (MakeAtom("WM_TRANSIENT_FOR", 16, 1) != XA_WM_TRANSIENT_FOR)
  150. AtomError();
  151. }