aboutsummaryrefslogtreecommitdiff
path: root/libX11/specs/libX11/AppA.xml
blob: 8c71b269dfd28855bab152ed386772f181e27edb (plain)
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
<appendix id="xlib_functions_and_protocol_requests">
<title>Xlib Functions and Protocol Requests</title>
<para>
This appendix provides two tables that relate to Xlib functions 
and the X protocol.
The following table lists each Xlib function (in alphabetical order)
and the corresponding protocol request that it generates.
</para>
<literallayout class="monospaced">
--------------------------------------------------------------------------
Xlib Function                                                 Protocol Request
--------------------------------------------------------------------------
XActivateScreenSaver                 ForceScreenSaver
XAddHost                             ChangeHosts
XAddHosts                            ChangeHosts
XAddToSaveSet                        ChangeSaveSet
XAllocColor                          AllocColor
XAllocColorCells                     AllocColorCells
XAllocColorPlanes                    AllocColorPlanes
XAllocNamedColor                     AllocNamedColor
XAllowEvents                         AllowEvents
XAutoRepeatOff                       ChangeKeyboardControl
XAutoRepeatOn                        ChangeKeyboardControl
XBell                                Bell
XChangeActivePointerGrab             ChangeActivePointerGrab
XChangeGC                            ChangeGC
XChangeKeyboardControl               ChangeKeyboardControl
XChangeKeyboardMapping               ChangeKeyboardMapping
XChangePointerControl                ChangePointerControl
XChangeProperty                      ChangeProperty
XChangeSaveSet                       ChangeSaveSet
XChangeWindowAttributes              ChangeWindowAttributes
XCirculateSubwindows                 CirculateWindow
XCirculateSubwindowsDown             CirculateWindow
XCirculateSubwindowsUp               CirculateWindow
XClearArea                           ClearArea
XClearWindow                         ClearArea
XConfigureWindow                     ConfigureWindow
XConvertSelection                    ConvertSelection
XCopyArea                            CopyArea
XCopyColormapAndFree                 CopyColormapAndFree
XCopyGC                              CopyGC
XCopyPlane                           CopyPlane
XCreateBitmapFromData                CreateGC
                                     CreatePixmap
                                     FreeGC
                                     PutImage
XCreateColormap                      CreateColormap
XCreateFontCursor                    CreateGlyphCursor
XCreateGC                            CreateGC
XCreateGlyphCursor                   CreateGlyphCursor
XCreatePixmap                        CreatePixmap
XCreatePixmapCursor                  CreateCursor
XCreatePixmapFromData                CreateGC
                                     CreatePixmap
                                     FreeGC
                                     PutImage
XCreateSimpleWindow                  CreateWindow
XCreateWindow                        CreateWindow
XDefineCursor                        ChangeWindowAttributes
XDeleteProperty                      DeleteProperty
XDestroySubwindows                   DestroySubwindows
XDestroyWindow                       DestroyWindow
XDisableAccessControl                SetAccessControl
XDrawArc                             PolyArc
XDrawArcs                            PolyArc
XDrawImageString                     ImageText8
XDrawImageString16                   ImageText16
XDrawLine                            PolySegment
XDrawLines                           PolyLine
XDrawPoint                           PolyPoint 
XDrawPoints                          PolyPoint
XDrawRectangle                       PolyRectangle
XDrawRectangles                      PolyRectangle
XDrawSegments                        PolySegment
XDrawString                          PolyText8
XDrawString16                        PolyText16
XDrawText                            PolyText8
XDrawText16                          PolyText16
XEnableAccessControl                 SetAccessControl
XFetchBytes                          GetProperty
XFetchName                           GetProperty
XFillArc                             PolyFillArc
XFillArcs                            PolyFillArc
XFillPolygon                         FillPoly
XFillRectangle                       PolyFillRectangle
XFillRectangles                      PolyFillRectangle
XForceScreenSaver                    ForceScreenSaver
XFreeColormap                        FreeColormap
XFreeColors                          FreeColors
XFreeCursor                          FreeCursor
XFreeFont                            CloseFont
XFreeGC                              FreeGC
XFreePixmap                          FreePixmap
XGetAtomName                         GetAtomName
XGetClassHint                        GetProperty
XGetFontPath                         GetFontPath
XGetGeometry                         GetGeometry
XGetIconName                         GetProperty
XGetIconSizes                        GetProperty
XGetImage                            GetImage
XGetInputFocus                       GetInputFocus
XGetKeyboardControl                  GetKeyboardControl
XGetKeyboardMapping                  GetKeyboardMapping
XGetModifierMapping                  GetModifierMapping
XGetMotionEvents                     GetMotionEvents
XGetNormalHints                      GetProperty
XGetPointerControl                   GetPointerControl
XGetPointerMapping                   GetPointerMapping
XGetRGBColormaps                     GetProperty
XGetScreenSaver                      GetScreenSaver
XGetSelectionOwner                   GetSelectionOwner
XGetSizeHints                        GetProperty
XGetTextProperty                     GetProperty
XGetTransientForHint                 GetProperty
XGetWMClientMachine                  GetProperty
XGetWMColormapWindows                GetProperty
                                     InternAtom
XGetWMHints                          GetProperty
XGetWMIconName                       GetProperty
XGetWMName                           GetProperty
XGetWMNormalHints                    GetProperty
XGetWMProtocols                      GetProperty
                                     InternAtom
XGetWMSizeHints                      GetProperty
XGetWindowAttributes                 GetWindowAttributes
                                     GetGeometry
XGetWindowProperty                   GetProperty
XGetZoomHints                        GetProperty
XGrabButton                          GrabButton
XGrabKey                             GrabKey
XGrabKeyboard                        GrabKeyboard
XGrabPointer                         GrabPointer
XGrabServer                          GrabServer
XIconifyWindow                       InternAtom
                                     SendEvent
XInitExtension                       QueryExtension
XInstallColormap                     InstallColormap
XInternAtom                          InternAtom
XKillClient                          KillClient
XListExtensions                      ListExtensions
XListFonts                           ListFonts
XListFontsWithInfo                   ListFontsWithInfo
XListHosts                           ListHosts
XListInstalledColormaps              ListInstalledColormaps
XListProperties                      ListProperties
XLoadFont                            OpenFont
XLoadQueryFont                       OpenFont
                                     QueryFont
XLookupColor                         LookupColor
XLowerWindow                         ConfigureWindow
XMapRaised                           ConfigureWindow
                                     MapWindow
XMapSubwindows                       MapSubwindows
XMapWindow                           MapWindow
XMoveResizeWindow                    ConfigureWindow
XMoveWindow                          ConfigureWindow
XNoOp                                NoOperation
XOpenDisplay                         CreateGC
XParseColor                          LookupColor
XPutImage                            PutImage
XQueryBestCursor                     QueryBestSize
XQueryBestSize                       QueryBestSize
XQueryBestStipple                    QueryBestSize
XQueryBestTile                       QueryBestSize
XQueryColor                          QueryColors 
XQueryColors                         QueryColors
XQueryExtension                      QueryExtension
XQueryFont                           QueryFont
XQueryKeymap                         QueryKeymap
XQueryPointer                        QueryPointer
XQueryTextExtents                    QueryTextExtents
XQueryTextExtents16                  QueryTextExtents
XQueryTree                           QueryTree
XRaiseWindow                         ConfigureWindow
XReadBitmapFile                      CreateGC
                                     CreatePixmap
                                     FreeGC
                                     PutImage
XRecolorCursor                       RecolorCursor
XReconfigureWMWindow                 ConfigureWindow
                                     SendEvent
XRemoveFromSaveSet                   ChangeSaveSet
XRemoveHost                          ChangeHosts
XRemoveHosts                         ChangeHosts
XReparentWindow                      ReparentWindow
XResetScreenSaver                    ForceScreenSaver
XResizeWindow                        ConfigureWindow 
XRestackWindows                      ConfigureWindow
XRotateBuffers                       RotateProperties
XRotateWindowProperties              RotateProperties
XSelectInput                         ChangeWindowAttributes
XSendEvent                           SendEvent
XSetAccessControl                    SetAccessControl
XSetArcMode                          ChangeGC
XSetBackground                       ChangeGC 
XSetClassHint                        ChangeProperty
XSetClipMask                         ChangeGC
XSetClipOrigin                       ChangeGC
XSetClipRectangles                   SetClipRectangles
XSetCloseDownMode                    SetCloseDownMode
XSetCommand                          ChangeProperty
XSetDashes                           SetDashes
XSetFillRule                         ChangeGC
XSetFillStyle                        ChangeGC
XSetFont                             ChangeGC 
XSetFontPath                         SetFontPath
XSetForeground                       ChangeGC 
XSetFunction                         ChangeGC 
XSetGraphicsExposures                ChangeGC
XSetIconName                         ChangeProperty
XSetIconSizes                        ChangeProperty
XSetInputFocus                       SetInputFocus
XSetLineAttributes                   ChangeGC
XSetModifierMapping                  SetModifierMapping
XSetNormalHints                      ChangeProperty
XSetPlaneMask                        ChangeGC 
XSetPointerMapping                   SetPointerMapping
XSetRGBColormaps                     ChangeProperty
XSetScreenSaver                      SetScreenSaver
XSetSelectionOwner                   SetSelectionOwner
XSetSizeHints                        ChangeProperty
XSetStandardProperties               ChangeProperty
XSetState                            ChangeGC
XSetStipple                          ChangeGC
XSetSubwindowMode                    ChangeGC
XSetTextProperty                     ChangeProperty
XSetTile                             ChangeGC
XSetTransientForHint                 ChangeProperty
XSetTSOrigin                         ChangeGC
XSetWMClientMachine                  ChangeProperty
XSetWMColormapWindows                ChangeProperty
                                     InternAtom
XSetWMHints                          ChangeProperty
XSetWMIconName                       ChangeProperty
XSetWMName                           ChangeProperty
XSetWMNormalHints                    ChangeProperty
XSetWMProperties                     ChangeProperty
XSetWMProtocols                      ChangeProperty
                                     InternAtom
XSetWMSizeHints                      ChangeProperty
XSetWindowBackground                 ChangeWindowAttributes
XSetWindowBackgroundPixmap           ChangeWindowAttributes
XSetWindowBorder                     ChangeWindowAttributes
XSetWindowBorderPixmap               ChangeWindowAttributes
XSetWindowBorderWidth                ConfigureWindow
XSetWindowColormap                   ChangeWindowAttributes
XSetZoomHints                        ChangeProperty
XStoreBuffer                         ChangeProperty
XStoreBytes                          ChangeProperty
XStoreColor                          StoreColors 
XStoreColors                         StoreColors
XStoreName                           ChangeProperty
XStoreNamedColor                     StoreNamedColor
XSync                                GetInputFocus
XSynchronize                         GetInputFocus
XTranslateCoordinates                TranslateCoordinates
XUndefineCursor                      ChangeWindowAttributes
XUngrabButton                        UngrabButton
XUngrabKey                           UngrabKey
XUngrabKeyboard                      UngrabKeyboard
XUngrabPointer                       UngrabPointer
XUngrabServer                        UngrabServer
XUninstallColormap                   UninstallColormap
XUnloadFont                          CloseFont
XUnmapSubwindows                     UnmapSubwindows
XUnmapWindow                         UnmapWindow
XWarpPointer                         WarpPointer
XWithdrawWindow                      SendEvent
                                     UnmapWindow
</literallayout>
<para>
The following table lists each X protocol request (in alphabetical
order) and the Xlib functions that reference it.
</para>
<literallayout class="monospaced">
--------------------------------------------------------------------------
Protocol Request                     Xlib Function
--------------------------------------------------------------------------
AllocColor                           XAllocColor
AllocColorCells                      XAllocColorCells
AllocColorPlanes                     XAllocColorPlanes
AllocNamedColor                      XAllocNamedColor
AllowEvents                          XAllowEvents
Bell                                 XBell
ChangeActivePointerGrab              XChangeActivePointerGrab
ChangeGC                             XChangeGC
                                     XSetArcMode
                                     XSetBackground
                                     XSetClipMask
                                     XSetClipOrigin
                                     XSetFillRule
                                     XSetFillStyle
                                     XSetFont
                                     XSetForeground
                                     XSetFunction
                                     XSetGraphicsExposures
                                     XSetLineAttributes
                                     XSetPlaneMask
                                     XSetState
                                     XSetStipple
                                     XSetSubwindowMode
                                     XSetTile
                                     XSetTSOrigin
ChangeHosts                          XAddHost
                                     XAddHosts
                                     XRemoveHost
                                     XRemoveHosts
ChangeKeyboardControl                XAutoRepeatOff
                                     XAutoRepeatOn
                                     XChangeKeyboardControl
ChangeKeyboardMapping                XChangeKeyboardMapping
ChangePointerControl                 XChangePointerControl
ChangeProperty                       XChangeProperty
                                     XSetClassHint
                                     XSetCommand
                                     XSetIconName
                                     XSetIconSizes
                                     XSetNormalHints
                                     XSetRGBColormaps
                                     XSetSizeHints
                                     XSetStandardProperties
                                     XSetTextProperty
                                     XSetTransientForHint
                                     XSetWMClientMachine
                                     XSetWMColormapWindows
                                     XSetWMHints
                                     XSetWMIconName
                                     XSetWMName
                                     XSetWMNormalHints
                                     XSetWMProperties
                                     XSetWMProtocols
                                     XSetWMSizeHints
                                     XSetZoomHints
                                     XStoreBuffer
                                     XStoreBytes
                                     XStoreName
ChangeSaveSet                        XAddToSaveSet
                                     XChangeSaveSet
                                     XRemoveFromSaveSet
ChangeWindowAttributes               XChangeWindowAttributes
                                     XDefineCursor
                                     XSelectInput
                                     XSetWindowBackground
                                     XSetWindowBackgroundPixmap
                                     XSetWindowBorder
                                     XSetWindowBorderPixmap
                                     XSetWindowColormap
                                     XUndefineCursor
CirculateWindow                      XCirculateSubwindowsDown
                                     XCirculateSubwindowsUp
                                     XCirculateSubwindows
ClearArea                            XClearArea
                                     XClearWindow
CloseFont                            XFreeFont
                                     XUnloadFont
ConfigureWindow                      XConfigureWindow
                                     XLowerWindow
                                     XMapRaised
                                     XMoveResizeWindow
                                     XMoveWindow
                                     XRaiseWindow
                                     XReconfigureWMWindow
                                     XResizeWindow
                                     XRestackWindows
                                     XSetWindowBorderWidth
ConvertSelection                     XConvertSelection
CopyArea                             XCopyArea
CopyColormapAndFree                  XCopyColormapAndFree
CopyGC                               XCopyGC
CopyPlane                            XCopyPlane
CreateColormap                       XCreateColormap
CreateCursor                         XCreatePixmapCursor
CreateGC                             XCreateGC
                                     XCreateBitmapFromData
                                     XCreatePixmapFromData
                                     XOpenDisplay
                                     XReadBitmapFile
CreateGlyphCursor                    XCreateFontCursor
                                     XCreateGlyphCursor
CreatePixmap                         XCreatePixmap
                                     XCreateBitmapFromData
                                     XCreatePixmapFromData
                                     XReadBitmapFile
CreateWindow                         XCreateSimpleWindow
                                     XCreateWindow
DeleteProperty                       XDeleteProperty
DestroySubwindows                    XDestroySubwindows
DestroyWindow                        XDestroyWindow
FillPoly                             XFillPolygon
ForceScreenSaver                     XActivateScreenSaver
                                     XForceScreenSaver
                                     XResetScreenSaver
FreeColormap                         XFreeColormap
FreeColors                           XFreeColors
FreeCursor                           XFreeCursor
FreeGC                               XFreeGC
                                     XCreateBitmapFromData
                                     XCreatePixmapFromData
                                     XReadBitmapFile
FreePixmap                           XFreePixmap
GetAtomName                          XGetAtomName
GetFontPath                          XGetFontPath
GetGeometry                          XGetGeometry
                                     XGetWindowAttributes
GetImage                             XGetImage
GetInputFocus                        XGetInputFocus
                                     XSync
                                     XSynchronize
GetKeyboardControl                   XGetKeyboardControl
GetKeyboardMapping                   XGetKeyboardMapping
GetModifierMapping                   XGetModifierMapping
GetMotionEvents                      XGetMotionEvents
GetPointerControl                    XGetPointerControl
GetPointerMapping                    XGetPointerMapping
GetProperty                          XFetchBytes
                                     XFetchName
                                     XGetClassHint
                                     XGetIconName
                                     XGetIconSizes
                                     XGetNormalHints
                                     XGetRGBColormaps
                                     XGetSizeHints
                                     XGetTextProperty
                                     XGetTransientForHint
                                     XGetWMClientMachine
                                     XGetWMColormapWindows
                                     XGetWMHints
                                     XGetWMIconName
                                     XGetWMName
                                     XGetWMNormalHints
                                     XGetWMProtocols
                                     XGetWMSizeHints
                                     XGetWindowProperty
                                     XGetZoomHints
GetSelectionOwner                    XGetSelectionOwner
GetWindowAttributes                  XGetWindowAttributes
GrabButton                           XGrabButton
GrabKey                              XGrabKey
GrabKeyboard                         XGrabKeyboard
GrabPointer                          XGrabPointer
GrabServer                           XGrabServer
ImageText8                           XDrawImageString
ImageText16                          XDrawImageString16
InstallColormap                      XInstallColormap
InternAtom                           XGetWMColormapWindows
                                     XGetWMProtocols
                                     XIconifyWindow
                                     XInternAtom
                                     XSetWMColormapWindows
                                     XSetWMProtocols
KillClient                           XKillClient
ListExtensions                       XListExtensions
ListFonts                            XListFonts
ListFontsWithInfo                    XListFontsWithInfo
ListHosts                            XListHosts
ListInstalledColormaps               XListInstalledColormaps
ListProperties                       XListProperties
LookupColor                          XLookupColor
                                     XParseColor
MapSubwindows                        XMapSubwindows
MapWindow                            XMapRaised
                                     XMapWindow
NoOperation                          XNoOp
OpenFont                             XLoadFont
                                     XLoadQueryFont
PolyArc                              XDrawArc
                                     XDrawArcs
PolyFillArc                          XFillArc
                                     XFillArcs
PolyFillRectangle                    XFillRectangle
                                     XFillRectangles
PolyLine                             XDrawLines
PolyPoint                            XDrawPoint
                                     XDrawPoints
PolyRectangle                        XDrawRectangle
                                     XDrawRectangles
PolySegment                          XDrawLine
                                     XDrawSegments
PolyText8                            XDrawString
                                     XDrawText
PolyText16                           XDrawString16
                                     XDrawText16
PutImage                             XPutImage
                                     XCreateBitmapFromData
                                     XCreatePixmapFromData
                                     XReadBitmapFile
QueryBestSize                        XQueryBestCursor
                                     XQueryBestSize
                                     XQueryBestStipple
                                     XQueryBestTile
QueryColors                          XQueryColor
                                     XQueryColors
QueryExtension                       XInitExtension
                                     XQueryExtension
QueryFont                            XLoadQueryFont
                                     XQueryFont
QueryKeymap                          XQueryKeymap
QueryPointer                         XQueryPointer
QueryTextExtents                     XQueryTextExtents
                                     XQueryTextExtents16
QueryTree                            XQueryTree
RecolorCursor                        XRecolorCursor
ReparentWindow                       XReparentWindow
RotateProperties                     XRotateBuffers
                                     XRotateWindowProperties
SendEvent                            XIconifyWindow
                                     XReconfigureWMWindow
                                     XSendEvent
                                     XWithdrawWindow
SetAccessControl                     XDisableAccessControl
                                     XEnableAccessControl
                                     XSetAccessControl
SetClipRectangles                    XSetClipRectangles
SetCloseDownMode                     XSetCloseDownMode
SetDashes                            XSetDashes
SetFontPath                          XSetFontPath
SetInputFocus                        XSetInputFocus
SetModifierMapping                   XSetModifierMapping
SetPointerMapping                    XSetPointerMapping
SetScreenSaver                       XGetScreenSaver
                                     XSetScreenSaver
SetSelectionOwner                    XSetSelectionOwner
StoreColors                          XStoreColor
                                     XStoreColors
StoreNamedColor                      XStoreNamedColor
TranslateCoordinates                 XTranslateCoordinates
UngrabButton                         XUngrabButton
UngrabKey                            XUngrabKey
UngrabKeyboard                       XUngrabKeyboard
UngrabPointer                        XUngrabPointer
UngrabServer                         XUngrabServer
UninstallColormap                    XUninstallColormap
UnmapSubwindows                      XUnmapSubWindows
UnmapWindow                          XUnmapWindow
                                     XWithdrawWindow
WarpPointer                          XWarpPointer

</literallayout>
</appendix>