-
Notifications
You must be signed in to change notification settings - Fork 21
/
xcb-xproto.el
3012 lines (2719 loc) · 98 KB
/
xcb-xproto.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; xcb-xproto.el --- X11 core protocol -*- lexical-binding: t -*-
;; Copyright (C) 2015-2019 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file was generated by 'el_client.el' from 'xproto.xml',
;; which you can retrieve from <git://anongit.freedesktop.org/xcb/proto>.
;;; Code:
(require 'xcb-types)
(defclass xcb:CHAR2B
(xcb:-struct)
((byte1 :initarg :byte1 :type xcb:CARD8)
(byte2 :initarg :byte2 :type xcb:CARD8)))
(xcb:deftypealias 'xcb:WINDOW 'xcb:-u4)
(xcb:deftypealias 'xcb:PIXMAP 'xcb:-u4)
(xcb:deftypealias 'xcb:CURSOR 'xcb:-u4)
(xcb:deftypealias 'xcb:FONT 'xcb:-u4)
(xcb:deftypealias 'xcb:GCONTEXT 'xcb:-u4)
(xcb:deftypealias 'xcb:COLORMAP 'xcb:-u4)
(xcb:deftypealias 'xcb:ATOM 'xcb:-u4)
(xcb:deftypealias 'xcb:DRAWABLE 'xcb:-u4)
(xcb:deftypealias 'xcb:FONTABLE 'xcb:-u4)
(xcb:deftypealias 'xcb:BOOL32 'xcb:CARD32)
(xcb:deftypealias 'xcb:VISUALID 'xcb:CARD32)
(xcb:deftypealias 'xcb:TIMESTAMP 'xcb:CARD32)
(xcb:deftypealias 'xcb:KEYSYM 'xcb:CARD32)
(xcb:deftypealias 'xcb:KEYCODE 'xcb:CARD8)
(xcb:deftypealias 'xcb:KEYCODE32 'xcb:CARD32)
(xcb:deftypealias 'xcb:BUTTON 'xcb:CARD8)
(defclass xcb:POINT
(xcb:-struct)
((x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)))
(defclass xcb:RECTANGLE
(xcb:-struct)
((x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)))
(defclass xcb:ARC
(xcb:-struct)
((x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(angle1 :initarg :angle1 :type xcb:INT16)
(angle2 :initarg :angle2 :type xcb:INT16)))
(defclass xcb:FORMAT
(xcb:-struct)
((depth :initarg :depth :type xcb:CARD8)
(bits-per-pixel :initarg :bits-per-pixel :type xcb:CARD8)
(scanline-pad :initarg :scanline-pad :type xcb:CARD8)
(pad~0 :initform 5 :type xcb:-pad)))
(defconst xcb:VisualClass:StaticGray 0)
(defconst xcb:VisualClass:GrayScale 1)
(defconst xcb:VisualClass:StaticColor 2)
(defconst xcb:VisualClass:PseudoColor 3)
(defconst xcb:VisualClass:TrueColor 4)
(defconst xcb:VisualClass:DirectColor 5)
(defclass xcb:VISUALTYPE
(xcb:-struct)
((visual-id :initarg :visual-id :type xcb:VISUALID)
(class :initarg :class :type xcb:CARD8)
(bits-per-rgb-value :initarg :bits-per-rgb-value :type xcb:CARD8)
(colormap-entries :initarg :colormap-entries :type xcb:CARD16)
(red-mask :initarg :red-mask :type xcb:CARD32)
(green-mask :initarg :green-mask :type xcb:CARD32)
(blue-mask :initarg :blue-mask :type xcb:CARD32)
(pad~0 :initform 4 :type xcb:-pad)))
(defclass xcb:DEPTH
(xcb:-struct)
((depth :initarg :depth :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(visuals-len :initarg :visuals-len :type xcb:CARD16)
(pad~1 :initform 4 :type xcb:-pad)
(visuals~ :initform
'(name visuals type xcb:VISUALTYPE size
(xcb:-fieldref 'visuals-len))
:type xcb:-list)
(visuals :initarg :visuals :type xcb:-ignore)))
(defconst xcb:EventMask:NoEvent 0)
(defconst xcb:EventMask:KeyPress 1)
(defconst xcb:EventMask:KeyRelease 2)
(defconst xcb:EventMask:ButtonPress 4)
(defconst xcb:EventMask:ButtonRelease 8)
(defconst xcb:EventMask:EnterWindow 16)
(defconst xcb:EventMask:LeaveWindow 32)
(defconst xcb:EventMask:PointerMotion 64)
(defconst xcb:EventMask:PointerMotionHint 128)
(defconst xcb:EventMask:Button1Motion 256)
(defconst xcb:EventMask:Button2Motion 512)
(defconst xcb:EventMask:Button3Motion 1024)
(defconst xcb:EventMask:Button4Motion 2048)
(defconst xcb:EventMask:Button5Motion 4096)
(defconst xcb:EventMask:ButtonMotion 8192)
(defconst xcb:EventMask:KeymapState 16384)
(defconst xcb:EventMask:Exposure 32768)
(defconst xcb:EventMask:VisibilityChange 65536)
(defconst xcb:EventMask:StructureNotify 131072)
(defconst xcb:EventMask:ResizeRedirect 262144)
(defconst xcb:EventMask:SubstructureNotify 524288)
(defconst xcb:EventMask:SubstructureRedirect 1048576)
(defconst xcb:EventMask:FocusChange 2097152)
(defconst xcb:EventMask:PropertyChange 4194304)
(defconst xcb:EventMask:ColorMapChange 8388608)
(defconst xcb:EventMask:OwnerGrabButton 16777216)
(defconst xcb:BackingStore:NotUseful 0)
(defconst xcb:BackingStore:WhenMapped 1)
(defconst xcb:BackingStore:Always 2)
(defclass xcb:SCREEN
(xcb:-struct)
((root :initarg :root :type xcb:WINDOW)
(default-colormap :initarg :default-colormap :type xcb:COLORMAP)
(white-pixel :initarg :white-pixel :type xcb:CARD32)
(black-pixel :initarg :black-pixel :type xcb:CARD32)
(current-input-masks :initarg :current-input-masks :type xcb:CARD32)
(width-in-pixels :initarg :width-in-pixels :type xcb:CARD16)
(height-in-pixels :initarg :height-in-pixels :type xcb:CARD16)
(width-in-millimeters :initarg :width-in-millimeters :type xcb:CARD16)
(height-in-millimeters :initarg :height-in-millimeters :type xcb:CARD16)
(min-installed-maps :initarg :min-installed-maps :type xcb:CARD16)
(max-installed-maps :initarg :max-installed-maps :type xcb:CARD16)
(root-visual :initarg :root-visual :type xcb:VISUALID)
(backing-stores :initarg :backing-stores :type xcb:BYTE)
(save-unders :initarg :save-unders :type xcb:BOOL)
(root-depth :initarg :root-depth :type xcb:CARD8)
(allowed-depths-len :initarg :allowed-depths-len :type xcb:CARD8)
(allowed-depths~ :initform
'(name allowed-depths type xcb:DEPTH size
(xcb:-fieldref 'allowed-depths-len))
:type xcb:-list)
(allowed-depths :initarg :allowed-depths :type xcb:-ignore)))
(defclass xcb:SetupRequest
(xcb:-struct)
((byte-order :initarg :byte-order :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(protocol-major-version :initarg :protocol-major-version :type xcb:CARD16)
(protocol-minor-version :initarg :protocol-minor-version :type xcb:CARD16)
(authorization-protocol-name-len :initarg :authorization-protocol-name-len :type xcb:CARD16)
(authorization-protocol-data-len :initarg :authorization-protocol-data-len :type xcb:CARD16)
(pad~1 :initform 2 :type xcb:-pad)
(authorization-protocol-name~ :initform
'(name authorization-protocol-name type xcb:char size
(xcb:-fieldref 'authorization-protocol-name-len))
:type xcb:-list)
(authorization-protocol-name :initarg :authorization-protocol-name :type xcb:-ignore)
(pad~2 :initform 4 :type xcb:-pad-align)
(authorization-protocol-data~ :initform
'(name authorization-protocol-data type xcb:char size
(xcb:-fieldref 'authorization-protocol-data-len))
:type xcb:-list)
(authorization-protocol-data :initarg :authorization-protocol-data :type xcb:-ignore)
(pad~3 :initform 4 :type xcb:-pad-align)))
(defclass xcb:SetupFailed
(xcb:-struct)
((status :initarg :status :type xcb:CARD8)
(reason-len :initarg :reason-len :type xcb:CARD8)
(protocol-major-version :initarg :protocol-major-version :type xcb:CARD16)
(protocol-minor-version :initarg :protocol-minor-version :type xcb:CARD16)
(length :initarg :length :type xcb:CARD16)
(reason~ :initform
'(name reason type xcb:char size
(xcb:-fieldref 'reason-len))
:type xcb:-list)
(reason :initarg :reason :type xcb:-ignore)))
(defclass xcb:SetupAuthenticate
(xcb:-struct)
((status :initarg :status :type xcb:CARD8)
(pad~0 :initform 5 :type xcb:-pad)
(length :initarg :length :type xcb:CARD16)
(reason~ :initform
'(name reason type xcb:char size
(*
(xcb:-fieldref 'length)
4))
:type xcb:-list)
(reason :initarg :reason :type xcb:-ignore)))
(defconst xcb:ImageOrder:LSBFirst 0)
(defconst xcb:ImageOrder:MSBFirst 1)
(defclass xcb:Setup
(xcb:-struct)
((status :initarg :status :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(protocol-major-version :initarg :protocol-major-version :type xcb:CARD16)
(protocol-minor-version :initarg :protocol-minor-version :type xcb:CARD16)
(length :initarg :length :type xcb:CARD16)
(release-number :initarg :release-number :type xcb:CARD32)
(resource-id-base :initarg :resource-id-base :type xcb:CARD32)
(resource-id-mask :initarg :resource-id-mask :type xcb:CARD32)
(motion-buffer-size :initarg :motion-buffer-size :type xcb:CARD32)
(vendor-len :initarg :vendor-len :type xcb:CARD16)
(maximum-request-length :initarg :maximum-request-length :type xcb:CARD16)
(roots-len :initarg :roots-len :type xcb:CARD8)
(pixmap-formats-len :initarg :pixmap-formats-len :type xcb:CARD8)
(image-byte-order :initarg :image-byte-order :type xcb:CARD8)
(bitmap-format-bit-order :initarg :bitmap-format-bit-order :type xcb:CARD8)
(bitmap-format-scanline-unit :initarg :bitmap-format-scanline-unit :type xcb:CARD8)
(bitmap-format-scanline-pad :initarg :bitmap-format-scanline-pad :type xcb:CARD8)
(min-keycode :initarg :min-keycode :type xcb:KEYCODE)
(max-keycode :initarg :max-keycode :type xcb:KEYCODE)
(pad~1 :initform 4 :type xcb:-pad)
(vendor~ :initform
'(name vendor type xcb:char size
(xcb:-fieldref 'vendor-len))
:type xcb:-list)
(vendor :initarg :vendor :type xcb:-ignore)
(pad~2 :initform 4 :type xcb:-pad-align)
(pixmap-formats~ :initform
'(name pixmap-formats type xcb:FORMAT size
(xcb:-fieldref 'pixmap-formats-len))
:type xcb:-list)
(pixmap-formats :initarg :pixmap-formats :type xcb:-ignore)
(roots~ :initform
'(name roots type xcb:SCREEN size
(xcb:-fieldref 'roots-len))
:type xcb:-list)
(roots :initarg :roots :type xcb:-ignore)))
(defconst xcb:ModMask:Shift 1)
(defconst xcb:ModMask:Lock 2)
(defconst xcb:ModMask:Control 4)
(defconst xcb:ModMask:1 8)
(defconst xcb:ModMask:2 16)
(defconst xcb:ModMask:3 32)
(defconst xcb:ModMask:4 64)
(defconst xcb:ModMask:5 128)
(defconst xcb:ModMask:Any 32768)
(defconst xcb:KeyButMask:Shift 1)
(defconst xcb:KeyButMask:Lock 2)
(defconst xcb:KeyButMask:Control 4)
(defconst xcb:KeyButMask:Mod1 8)
(defconst xcb:KeyButMask:Mod2 16)
(defconst xcb:KeyButMask:Mod3 32)
(defconst xcb:KeyButMask:Mod4 64)
(defconst xcb:KeyButMask:Mod5 128)
(defconst xcb:KeyButMask:Button1 256)
(defconst xcb:KeyButMask:Button2 512)
(defconst xcb:KeyButMask:Button3 1024)
(defconst xcb:KeyButMask:Button4 2048)
(defconst xcb:KeyButMask:Button5 4096)
(defconst xcb:Window:None 0)
(defclass xcb:KeyPress
(xcb:-event)
((~code :initform 2)
(detail :initarg :detail :type xcb:KEYCODE)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(root :initarg :root :type xcb:WINDOW)
(event :initarg :event :type xcb:WINDOW)
(child :initarg :child :type xcb:WINDOW)
(root-x :initarg :root-x :type xcb:INT16)
(root-y :initarg :root-y :type xcb:INT16)
(event-x :initarg :event-x :type xcb:INT16)
(event-y :initarg :event-y :type xcb:INT16)
(state :initarg :state :type xcb:CARD16)
(same-screen :initarg :same-screen :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)))
(defclass xcb:KeyRelease
(xcb:-event xcb:KeyPress)
((~code :initform 3)))
(defconst xcb:ButtonMask:1 256)
(defconst xcb:ButtonMask:2 512)
(defconst xcb:ButtonMask:3 1024)
(defconst xcb:ButtonMask:4 2048)
(defconst xcb:ButtonMask:5 4096)
(defconst xcb:ButtonMask:Any 32768)
(defclass xcb:ButtonPress
(xcb:-event)
((~code :initform 4)
(detail :initarg :detail :type xcb:BUTTON)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(root :initarg :root :type xcb:WINDOW)
(event :initarg :event :type xcb:WINDOW)
(child :initarg :child :type xcb:WINDOW)
(root-x :initarg :root-x :type xcb:INT16)
(root-y :initarg :root-y :type xcb:INT16)
(event-x :initarg :event-x :type xcb:INT16)
(event-y :initarg :event-y :type xcb:INT16)
(state :initarg :state :type xcb:CARD16)
(same-screen :initarg :same-screen :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)))
(defclass xcb:ButtonRelease
(xcb:-event xcb:ButtonPress)
((~code :initform 5)))
(defconst xcb:Motion:Normal 0)
(defconst xcb:Motion:Hint 1)
(defclass xcb:MotionNotify
(xcb:-event)
((~code :initform 6)
(detail :initarg :detail :type xcb:BYTE)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(root :initarg :root :type xcb:WINDOW)
(event :initarg :event :type xcb:WINDOW)
(child :initarg :child :type xcb:WINDOW)
(root-x :initarg :root-x :type xcb:INT16)
(root-y :initarg :root-y :type xcb:INT16)
(event-x :initarg :event-x :type xcb:INT16)
(event-y :initarg :event-y :type xcb:INT16)
(state :initarg :state :type xcb:CARD16)
(same-screen :initarg :same-screen :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)))
(defconst xcb:NotifyDetail:Ancestor 0)
(defconst xcb:NotifyDetail:Virtual 1)
(defconst xcb:NotifyDetail:Inferior 2)
(defconst xcb:NotifyDetail:Nonlinear 3)
(defconst xcb:NotifyDetail:NonlinearVirtual 4)
(defconst xcb:NotifyDetail:Pointer 5)
(defconst xcb:NotifyDetail:PointerRoot 6)
(defconst xcb:NotifyDetail:None 7)
(defconst xcb:NotifyMode:Normal 0)
(defconst xcb:NotifyMode:Grab 1)
(defconst xcb:NotifyMode:Ungrab 2)
(defconst xcb:NotifyMode:WhileGrabbed 3)
(defclass xcb:EnterNotify
(xcb:-event)
((~code :initform 7)
(detail :initarg :detail :type xcb:BYTE)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(root :initarg :root :type xcb:WINDOW)
(event :initarg :event :type xcb:WINDOW)
(child :initarg :child :type xcb:WINDOW)
(root-x :initarg :root-x :type xcb:INT16)
(root-y :initarg :root-y :type xcb:INT16)
(event-x :initarg :event-x :type xcb:INT16)
(event-y :initarg :event-y :type xcb:INT16)
(state :initarg :state :type xcb:CARD16)
(mode :initarg :mode :type xcb:BYTE)
(same-screen-focus :initarg :same-screen-focus :type xcb:BYTE)))
(defclass xcb:LeaveNotify
(xcb:-event xcb:EnterNotify)
((~code :initform 8)))
(defclass xcb:FocusIn
(xcb:-event)
((~code :initform 9)
(detail :initarg :detail :type xcb:BYTE)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(mode :initarg :mode :type xcb:BYTE)
(pad~0 :initform 3 :type xcb:-pad)))
(defclass xcb:FocusOut
(xcb:-event xcb:FocusIn)
((~code :initform 10)))
(defclass xcb:KeymapNotify
(xcb:-event)
((~code :initform 11)
(keys~ :initform
'(name keys type xcb:CARD8 size 31)
:type xcb:-list)
(keys :initarg :keys :type xcb:-ignore)))
(defclass xcb:Expose
(xcb:-event)
((~code :initform 12)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(x :initarg :x :type xcb:CARD16)
(y :initarg :y :type xcb:CARD16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(count :initarg :count :type xcb:CARD16)
(pad~1 :initform 2 :type xcb:-pad)))
(defclass xcb:GraphicsExposure
(xcb:-event)
((~code :initform 13)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(drawable :initarg :drawable :type xcb:DRAWABLE)
(x :initarg :x :type xcb:CARD16)
(y :initarg :y :type xcb:CARD16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(minor-opcode :initarg :minor-opcode :type xcb:CARD16)
(count :initarg :count :type xcb:CARD16)
(major-opcode :initarg :major-opcode :type xcb:CARD8)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:NoExposure
(xcb:-event)
((~code :initform 14)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(drawable :initarg :drawable :type xcb:DRAWABLE)
(minor-opcode :initarg :minor-opcode :type xcb:CARD16)
(major-opcode :initarg :major-opcode :type xcb:CARD8)
(pad~1 :initform 1 :type xcb:-pad)))
(defconst xcb:Visibility:Unobscured 0)
(defconst xcb:Visibility:PartiallyObscured 1)
(defconst xcb:Visibility:FullyObscured 2)
(defclass xcb:VisibilityNotify
(xcb:-event)
((~code :initform 15)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(state :initarg :state :type xcb:BYTE)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:CreateNotify
(xcb:-event)
((~code :initform 16)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(parent :initarg :parent :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(border-width :initarg :border-width :type xcb:CARD16)
(override-redirect :initarg :override-redirect :type xcb:BOOL)
(pad~1 :initform 1 :type xcb:-pad)))
(defclass xcb:DestroyNotify
(xcb:-event)
((~code :initform 17)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)))
(defclass xcb:UnmapNotify
(xcb:-event)
((~code :initform 18)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(from-configure :initarg :from-configure :type xcb:BOOL)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:MapNotify
(xcb:-event)
((~code :initform 19)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(override-redirect :initarg :override-redirect :type xcb:BOOL)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:MapRequest
(xcb:-event)
((~code :initform 20)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(parent :initarg :parent :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)))
(defclass xcb:ReparentNotify
(xcb:-event)
((~code :initform 21)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(parent :initarg :parent :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(override-redirect :initarg :override-redirect :type xcb:BOOL)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:ConfigureNotify
(xcb:-event)
((~code :initform 22)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(above-sibling :initarg :above-sibling :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(border-width :initarg :border-width :type xcb:CARD16)
(override-redirect :initarg :override-redirect :type xcb:BOOL)
(pad~1 :initform 1 :type xcb:-pad)))
(defclass xcb:ConfigureRequest
(xcb:-event)
((~code :initform 23)
(stack-mode :initarg :stack-mode :type xcb:BYTE)
(~sequence :type xcb:CARD16)
(parent :initarg :parent :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(sibling :initarg :sibling :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(border-width :initarg :border-width :type xcb:CARD16)
(value-mask :initarg :value-mask :type xcb:CARD16)))
(defclass xcb:GravityNotify
(xcb:-event)
((~code :initform 24)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)))
(defclass xcb:ResizeRequest
(xcb:-event)
((~code :initform 25)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)))
(defconst xcb:Place:OnTop 0)
(defconst xcb:Place:OnBottom 1)
(defclass xcb:CirculateNotify
(xcb:-event)
((~code :initform 26)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event :initarg :event :type xcb:WINDOW)
(window :initarg :window :type xcb:WINDOW)
(pad~1 :initform 4 :type xcb:-pad)
(place :initarg :place :type xcb:BYTE)
(pad~2 :initform 3 :type xcb:-pad)))
(defclass xcb:CirculateRequest
(xcb:-event xcb:CirculateNotify)
((~code :initform 27)))
(defconst xcb:Property:NewValue 0)
(defconst xcb:Property:Delete 1)
(defclass xcb:PropertyNotify
(xcb:-event)
((~code :initform 28)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(atom :initarg :atom :type xcb:ATOM)
(time :initarg :time :type xcb:TIMESTAMP)
(state :initarg :state :type xcb:BYTE)
(pad~1 :initform 3 :type xcb:-pad)))
(defclass xcb:SelectionClear
(xcb:-event)
((~code :initform 29)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(owner :initarg :owner :type xcb:WINDOW)
(selection :initarg :selection :type xcb:ATOM)))
(defconst xcb:Time:CurrentTime 0)
(defconst xcb:Atom:None 0)
(defconst xcb:Atom:Any 0)
(defconst xcb:Atom:PRIMARY 1)
(defconst xcb:Atom:SECONDARY 2)
(defconst xcb:Atom:ARC 3)
(defconst xcb:Atom:ATOM 4)
(defconst xcb:Atom:BITMAP 5)
(defconst xcb:Atom:CARDINAL 6)
(defconst xcb:Atom:COLORMAP 7)
(defconst xcb:Atom:CURSOR 8)
(defconst xcb:Atom:CUT_BUFFER0 9)
(defconst xcb:Atom:CUT_BUFFER1 10)
(defconst xcb:Atom:CUT_BUFFER2 11)
(defconst xcb:Atom:CUT_BUFFER3 12)
(defconst xcb:Atom:CUT_BUFFER4 13)
(defconst xcb:Atom:CUT_BUFFER5 14)
(defconst xcb:Atom:CUT_BUFFER6 15)
(defconst xcb:Atom:CUT_BUFFER7 16)
(defconst xcb:Atom:DRAWABLE 17)
(defconst xcb:Atom:FONT 18)
(defconst xcb:Atom:INTEGER 19)
(defconst xcb:Atom:PIXMAP 20)
(defconst xcb:Atom:POINT 21)
(defconst xcb:Atom:RECTANGLE 22)
(defconst xcb:Atom:RESOURCE_MANAGER 23)
(defconst xcb:Atom:RGB_COLOR_MAP 24)
(defconst xcb:Atom:RGB_BEST_MAP 25)
(defconst xcb:Atom:RGB_BLUE_MAP 26)
(defconst xcb:Atom:RGB_DEFAULT_MAP 27)
(defconst xcb:Atom:RGB_GRAY_MAP 28)
(defconst xcb:Atom:RGB_GREEN_MAP 29)
(defconst xcb:Atom:RGB_RED_MAP 30)
(defconst xcb:Atom:STRING 31)
(defconst xcb:Atom:VISUALID 32)
(defconst xcb:Atom:WINDOW 33)
(defconst xcb:Atom:WM_COMMAND 34)
(defconst xcb:Atom:WM_HINTS 35)
(defconst xcb:Atom:WM_CLIENT_MACHINE 36)
(defconst xcb:Atom:WM_ICON_NAME 37)
(defconst xcb:Atom:WM_ICON_SIZE 38)
(defconst xcb:Atom:WM_NAME 39)
(defconst xcb:Atom:WM_NORMAL_HINTS 40)
(defconst xcb:Atom:WM_SIZE_HINTS 41)
(defconst xcb:Atom:WM_ZOOM_HINTS 42)
(defconst xcb:Atom:MIN_SPACE 43)
(defconst xcb:Atom:NORM_SPACE 44)
(defconst xcb:Atom:MAX_SPACE 45)
(defconst xcb:Atom:END_SPACE 46)
(defconst xcb:Atom:SUPERSCRIPT_X 47)
(defconst xcb:Atom:SUPERSCRIPT_Y 48)
(defconst xcb:Atom:SUBSCRIPT_X 49)
(defconst xcb:Atom:SUBSCRIPT_Y 50)
(defconst xcb:Atom:UNDERLINE_POSITION 51)
(defconst xcb:Atom:UNDERLINE_THICKNESS 52)
(defconst xcb:Atom:STRIKEOUT_ASCENT 53)
(defconst xcb:Atom:STRIKEOUT_DESCENT 54)
(defconst xcb:Atom:ITALIC_ANGLE 55)
(defconst xcb:Atom:X_HEIGHT 56)
(defconst xcb:Atom:QUAD_WIDTH 57)
(defconst xcb:Atom:WEIGHT 58)
(defconst xcb:Atom:POINT_SIZE 59)
(defconst xcb:Atom:RESOLUTION 60)
(defconst xcb:Atom:COPYRIGHT 61)
(defconst xcb:Atom:NOTICE 62)
(defconst xcb:Atom:FONT_NAME 63)
(defconst xcb:Atom:FAMILY_NAME 64)
(defconst xcb:Atom:FULL_NAME 65)
(defconst xcb:Atom:CAP_HEIGHT 66)
(defconst xcb:Atom:WM_CLASS 67)
(defconst xcb:Atom:WM_TRANSIENT_FOR 68)
(defclass xcb:SelectionRequest
(xcb:-event)
((~code :initform 30)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(owner :initarg :owner :type xcb:WINDOW)
(requestor :initarg :requestor :type xcb:WINDOW)
(selection :initarg :selection :type xcb:ATOM)
(target :initarg :target :type xcb:ATOM)
(property :initarg :property :type xcb:ATOM)))
(defclass xcb:SelectionNotify
(xcb:-event)
((~code :initform 31)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(time :initarg :time :type xcb:TIMESTAMP)
(requestor :initarg :requestor :type xcb:WINDOW)
(selection :initarg :selection :type xcb:ATOM)
(target :initarg :target :type xcb:ATOM)
(property :initarg :property :type xcb:ATOM)))
(defconst xcb:ColormapState:Uninstalled 0)
(defconst xcb:ColormapState:Installed 1)
(defconst xcb:Colormap:None 0)
(defclass xcb:ColormapNotify
(xcb:-event)
((~code :initform 32)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(colormap :initarg :colormap :type xcb:COLORMAP)
(new :initarg :new :type xcb:BOOL)
(state :initarg :state :type xcb:BYTE)
(pad~1 :initform 2 :type xcb:-pad)))
(defclass xcb:ClientMessageData
(xcb:-union)
((~size :initform 20)
(data8~ :initform
'(name data8 type xcb:CARD8 size 20)
:type xcb:-list)
(data8 :initarg :data8 :type xcb:-ignore)
(data16~ :initform
'(name data16 type xcb:CARD16 size 10)
:type xcb:-list)
(data16 :initarg :data16 :type xcb:-ignore)
(data32~ :initform
'(name data32 type xcb:CARD32 size 5)
:type xcb:-list)
(data32 :initarg :data32 :type xcb:-ignore)))
(defclass xcb:ClientMessage
(xcb:-event)
((~code :initform 33)
(format :initarg :format :type xcb:CARD8)
(~sequence :type xcb:CARD16)
(window :initarg :window :type xcb:WINDOW)
(type :initarg :type :type xcb:ATOM)
(data :initarg :data :type xcb:ClientMessageData)))
(defconst xcb:Mapping:Modifier 0)
(defconst xcb:Mapping:Keyboard 1)
(defconst xcb:Mapping:Pointer 2)
(defclass xcb:MappingNotify
(xcb:-event)
((~code :initform 34)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(request :initarg :request :type xcb:BYTE)
(first-keycode :initarg :first-keycode :type xcb:KEYCODE)
(count :initarg :count :type xcb:CARD8)
(pad~1 :initform 1 :type xcb:-pad)))
(defclass xcb:GeGeneric
(xcb:-generic-event)
((pad~0 :initform 22 :type xcb:-pad)))
(defclass xcb:Request
(xcb:-error)
((~code :initform 1)
(bad-value :initarg :bad-value :type xcb:CARD32)
(minor-opcode :initarg :minor-opcode :type xcb:CARD16)
(major-opcode :initarg :major-opcode :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)))
(defclass xcb:Value
(xcb:-error)
((~code :initform 2)
(bad-value :initarg :bad-value :type xcb:CARD32)
(minor-opcode :initarg :minor-opcode :type xcb:CARD16)
(major-opcode :initarg :major-opcode :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)))
(defclass xcb:Window
(xcb:-error xcb:Value)
((~code :initform 3)))
(defclass xcb:Pixmap
(xcb:-error xcb:Value)
((~code :initform 4)))
(defclass xcb:Atom
(xcb:-error xcb:Value)
((~code :initform 5)))
(defclass xcb:Cursor
(xcb:-error xcb:Value)
((~code :initform 6)))
(defclass xcb:Font
(xcb:-error xcb:Value)
((~code :initform 7)))
(defclass xcb:Match
(xcb:-error xcb:Request)
((~code :initform 8)))
(defclass xcb:Drawable
(xcb:-error xcb:Value)
((~code :initform 9)))
(defclass xcb:Access
(xcb:-error xcb:Request)
((~code :initform 10)))
(defclass xcb:Alloc
(xcb:-error xcb:Request)
((~code :initform 11)))
(defclass xcb:Colormap
(xcb:-error xcb:Value)
((~code :initform 12)))
(defclass xcb:GContext
(xcb:-error xcb:Value)
((~code :initform 13)))
(defclass xcb:IDChoice
(xcb:-error xcb:Value)
((~code :initform 14)))
(defclass xcb:Name
(xcb:-error xcb:Request)
((~code :initform 15)))
(defclass xcb:Length
(xcb:-error xcb:Request)
((~code :initform 16)))
(defclass xcb:Implementation
(xcb:-error xcb:Request)
((~code :initform 17)))
(defconst xcb:WindowClass:CopyFromParent 0)
(defconst xcb:WindowClass:InputOutput 1)
(defconst xcb:WindowClass:InputOnly 2)
(defconst xcb:CW:BackPixmap 1)
(defconst xcb:CW:BackPixel 2)
(defconst xcb:CW:BorderPixmap 4)
(defconst xcb:CW:BorderPixel 8)
(defconst xcb:CW:BitGravity 16)
(defconst xcb:CW:WinGravity 32)
(defconst xcb:CW:BackingStore 64)
(defconst xcb:CW:BackingPlanes 128)
(defconst xcb:CW:BackingPixel 256)
(defconst xcb:CW:OverrideRedirect 512)
(defconst xcb:CW:SaveUnder 1024)
(defconst xcb:CW:EventMask 2048)
(defconst xcb:CW:DontPropagate 4096)
(defconst xcb:CW:Colormap 8192)
(defconst xcb:CW:Cursor 16384)
(defconst xcb:BackPixmap:None 0)
(defconst xcb:BackPixmap:ParentRelative 1)
(defconst xcb:Gravity:BitForget 0)
(defconst xcb:Gravity:WinUnmap 0)
(defconst xcb:Gravity:NorthWest 1)
(defconst xcb:Gravity:North 2)
(defconst xcb:Gravity:NorthEast 3)
(defconst xcb:Gravity:West 4)
(defconst xcb:Gravity:Center 5)
(defconst xcb:Gravity:East 6)
(defconst xcb:Gravity:SouthWest 7)
(defconst xcb:Gravity:South 8)
(defconst xcb:Gravity:SouthEast 9)
(defconst xcb:Gravity:Static 10)
(defclass xcb:CreateWindow
(xcb:-request)
((~opcode :initform 1 :type xcb:-u1)
(depth :initarg :depth :type xcb:CARD8)
(wid :initarg :wid :type xcb:WINDOW)
(parent :initarg :parent :type xcb:WINDOW)
(x :initarg :x :type xcb:INT16)
(y :initarg :y :type xcb:INT16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(border-width :initarg :border-width :type xcb:CARD16)
(class :initarg :class :type xcb:CARD16)
(visual :initarg :visual :type xcb:VISUALID)
(value-mask :initarg :value-mask :type xcb:CARD32)
(value-list :initform
'(expression
(xcb:-fieldref 'value-mask)
cases
((1 background-pixmap)
(2 background-pixel)
(4 border-pixmap)
(8 border-pixel)
(16 bit-gravity)
(32 win-gravity)
(64 backing-store)
(128 backing-planes)
(256 backing-pixel)
(512 override-redirect)
(1024 save-under)
(2048 event-mask)
(4096 do-not-propogate-mask)
(8192 colormap)
(16384 cursor)))
:type xcb:-switch)
(background-pixmap :initarg :background-pixmap :type xcb:PIXMAP)
(background-pixel :initarg :background-pixel :type xcb:CARD32)
(border-pixmap :initarg :border-pixmap :type xcb:PIXMAP)
(border-pixel :initarg :border-pixel :type xcb:CARD32)
(bit-gravity :initarg :bit-gravity :type xcb:CARD32)
(win-gravity :initarg :win-gravity :type xcb:CARD32)
(backing-store :initarg :backing-store :type xcb:CARD32)
(backing-planes :initarg :backing-planes :type xcb:CARD32)
(backing-pixel :initarg :backing-pixel :type xcb:CARD32)
(override-redirect :initarg :override-redirect :type xcb:BOOL32)
(save-under :initarg :save-under :type xcb:BOOL32)
(event-mask :initarg :event-mask :type xcb:CARD32)
(do-not-propogate-mask :initarg :do-not-propogate-mask :type xcb:CARD32)
(colormap :initarg :colormap :type xcb:COLORMAP)
(cursor :initarg :cursor :type xcb:CURSOR)))
(defclass xcb:ChangeWindowAttributes
(xcb:-request)
((~opcode :initform 2 :type xcb:-u1)
(pad~0 :initform 1 :type xcb:-pad)
(window :initarg :window :type xcb:WINDOW)
(value-mask :initarg :value-mask :type xcb:CARD32)
(value-list :initform
'(expression
(xcb:-fieldref 'value-mask)
cases
((1 background-pixmap)
(2 background-pixel)
(4 border-pixmap)
(8 border-pixel)
(16 bit-gravity)
(32 win-gravity)
(64 backing-store)
(128 backing-planes)
(256 backing-pixel)
(512 override-redirect)
(1024 save-under)
(2048 event-mask)
(4096 do-not-propogate-mask)
(8192 colormap)
(16384 cursor)))
:type xcb:-switch)
(background-pixmap :initarg :background-pixmap :type xcb:PIXMAP)
(background-pixel :initarg :background-pixel :type xcb:CARD32)
(border-pixmap :initarg :border-pixmap :type xcb:PIXMAP)
(border-pixel :initarg :border-pixel :type xcb:CARD32)
(bit-gravity :initarg :bit-gravity :type xcb:CARD32)
(win-gravity :initarg :win-gravity :type xcb:CARD32)
(backing-store :initarg :backing-store :type xcb:CARD32)
(backing-planes :initarg :backing-planes :type xcb:CARD32)
(backing-pixel :initarg :backing-pixel :type xcb:CARD32)
(override-redirect :initarg :override-redirect :type xcb:BOOL32)
(save-under :initarg :save-under :type xcb:BOOL32)
(event-mask :initarg :event-mask :type xcb:CARD32)
(do-not-propogate-mask :initarg :do-not-propogate-mask :type xcb:CARD32)
(colormap :initarg :colormap :type xcb:COLORMAP)
(cursor :initarg :cursor :type xcb:CURSOR)))
(defconst xcb:MapState:Unmapped 0)
(defconst xcb:MapState:Unviewable 1)
(defconst xcb:MapState:Viewable 2)
(defclass xcb:GetWindowAttributes
(xcb:-request)
((~opcode :initform 3 :type xcb:-u1)
(pad~0 :initform 1 :type xcb:-pad)
(window :initarg :window :type xcb:WINDOW)))
(defclass xcb:GetWindowAttributes~reply
(xcb:-reply)
((backing-store :initarg :backing-store :type xcb:CARD8)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(visual :initarg :visual :type xcb:VISUALID)
(class :initarg :class :type xcb:CARD16)