annotate semiconginev2/thirdparty/x11/xatom.nim @ 1239:69489a678141

add: better syncing, better swapchain access, correct font offset, two font-rendering tests
author sam <sam@basx.dev>
date Mon, 22 Jul 2024 00:46:10 +0700
parents 56781cc0fc7c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1191
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1 #
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2 # THIS IS A GENERATED FILE
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
3 #
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
4 # Do not change! Changing this file implies a protocol change!
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
5 #
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
6
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
7 import
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
8 x
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
9
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
10 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
11 XA_PRIMARY* = Atom(1)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
12 XA_SECONDARY* = Atom(2)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
13 XA_ARC* = Atom(3)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
14 XA_ATOM* = Atom(4)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
15 XA_BITMAP* = Atom(5)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
16 XA_CARDINAL* = Atom(6)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
17 XA_COLORMAP* = Atom(7)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
18 XA_CURSOR* = Atom(8)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
19 XA_CUT_BUFFER0* = Atom(9)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
20 XA_CUT_BUFFER1* = Atom(10)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
21 XA_CUT_BUFFER2* = Atom(11)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
22 XA_CUT_BUFFER3* = Atom(12)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
23 XA_CUT_BUFFER4* = Atom(13)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
24 XA_CUT_BUFFER5* = Atom(14)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
25 XA_CUT_BUFFER6* = Atom(15)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
26 XA_CUT_BUFFER7* = Atom(16)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
27 XA_DRAWABLE* = Atom(17)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
28 XA_FONT* = Atom(18)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
29 XA_INTEGER* = Atom(19)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
30 XA_PIXMAP* = Atom(20)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
31 XA_POINT* = Atom(21)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
32 XA_RECTANGLE* = Atom(22)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
33 XA_RESOURCE_MANAGER* = Atom(23)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
34 XA_RGB_COLOR_MAP* = Atom(24)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
35 XA_RGB_BEST_MAP* = Atom(25)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
36 XA_RGB_BLUE_MAP* = Atom(26)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
37 XA_RGB_DEFAULT_MAP* = Atom(27)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
38 XA_RGB_GRAY_MAP* = Atom(28)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
39 XA_RGB_GREEN_MAP* = Atom(29)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
40 XA_RGB_RED_MAP* = Atom(30)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
41 XA_STRING* = Atom(31)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
42 XA_VISUALID* = Atom(32)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
43 XA_WINDOW* = Atom(33)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
44 XA_WM_COMMAND* = Atom(34)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
45 XA_WM_HINTS* = Atom(35)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
46 XA_WM_CLIENT_MACHINE* = Atom(36)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
47 XA_WM_ICON_NAME* = Atom(37)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
48 XA_WM_ICON_SIZE* = Atom(38)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
49 XA_WM_NAME* = Atom(39)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
50 XA_WM_NORMAL_HINTS* = Atom(40)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
51 XA_WM_SIZE_HINTS* = Atom(41)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
52 XA_WM_ZOOM_HINTS* = Atom(42)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
53 XA_MIN_SPACE* = Atom(43)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
54 XA_NORM_SPACE* = Atom(44)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
55 XA_MAX_SPACE* = Atom(45)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
56 XA_END_SPACE* = Atom(46)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
57 XA_SUPERSCRIPT_X* = Atom(47)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
58 XA_SUPERSCRIPT_Y* = Atom(48)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
59 XA_SUBSCRIPT_X* = Atom(49)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
60 XA_SUBSCRIPT_Y* = Atom(50)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
61 XA_UNDERLINE_POSITION* = Atom(51)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
62 XA_UNDERLINE_THICKNESS* = Atom(52)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
63 XA_STRIKEOUT_ASCENT* = Atom(53)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
64 XA_STRIKEOUT_DESCENT* = Atom(54)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
65 XA_ITALIC_ANGLE* = Atom(55)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
66 XA_X_HEIGHT* = Atom(56)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
67 XA_QUAD_WIDTH* = Atom(57)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
68 XA_WEIGHT* = Atom(58)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
69 XA_POINT_SIZE* = Atom(59)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
70 XA_RESOLUTION* = Atom(60)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
71 XA_COPYRIGHT* = Atom(61)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
72 XA_NOTICE* = Atom(62)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
73 XA_FONT_NAME* = Atom(63)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
74 XA_FAMILY_NAME* = Atom(64)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
75 XA_FULL_NAME* = Atom(65)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
76 XA_CAP_HEIGHT* = Atom(66)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
77 XA_WM_CLASS* = Atom(67)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
78 XA_WM_TRANSIENT_FOR* = Atom(68)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
79 XA_LAST_PREDEFINED* = Atom(68)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
80
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
81 # implementation