Kenton Lee

X Protocol Requests and Corresponding Xlib Functions


This table is derived from the X Consortium's X11R6 Xlib specification; Copyright © X Consortium.
This HTML version is Copyright © 1996 by Kenton Lee, Palo Alto, California, USA. All Rights Reserved.
Last modified May 20, 1996.

This table maps X protocol requests to the Xlib functions that use them. The reverse mapping of Xlib functions to X protocol requests is available separately.

Note that the mapping is not one-to-one. Some Xlib functions generate more than one X protocol request. Conversely, some X protocol requests are used by more than one Xlib function.

These tables should help X Window System programmers debug X protocol error messages. A tutorial on debugging X protocol errors is also available separately.

X Protocol RequestXlib Function
AllocColorXAllocColor
AllocColorCellsXAllocColorCells
AllocColorPlanesXAllocColorPlanes
AllocNamedColorXAllocNamedColor
AllowEventsXAllowEvents
BellXBell
SetAccessControlXDisableAccessControl
XEnableAccessControl
XSetAccessControl
ChangeActivePointerGrabXChangeActivePointerGrab
SetCloseDownModeXSetCloseDownMode
ChangeGCXChangeGC
XSetArcMode
XSetBackground
XSetClipMask
XSetClipOrigin
XSetFillRule
XSetFillStyle
XSetFont
XSetForeground
XSetFunction
XSetGraphicsExposures
XSetLineAttributes
XSetPlaneMask
XSetState
XSetStipple
XSetSubwindowMode
XSetTile
XSetTSOrigin
ChangeHostsXAddHost
XAddHosts
XRemoveHost
XRemoveHosts
ChangeKeyboardControlXAutoRepeatOff
XAutoRepeatOn
XChangeKeyboardControl
ChangeKeyboardMappingXChangeKeyboardMapping
ChangePointerControlXChangePointerControl
ChangePropertyXChangeProperty
XSetClassHint
XSetCommand
XSetIconName
XSetIconSizes
XSetNormalHints
XSetRGBColormaps
XSetSizeHints
XSetStandardProperties
XSetTextProperty
XSetTransientForHint
XSetWMClientMachine
XSetWMColormapWindows
XSetWMHints
XSetWMIconName
XSetWMName
XSetWMNormalHints
XSetWMProperties
XSetWMProtocols
XSetWMSizeHints
XSetZoomHints
XStoreBuffer
XStoreBytes
XStoreName
ChangeSaveSetXAddToSaveSet
XChangeSaveSet
XRemoveFromSaveSet
ChangeWindowAttributesXChangeWindowAttributes
XDefineCursor
XSelectInput
XSetWindowBackground
XSetWindowBackgroundPixmap
XSetWindowBorder
XSetWindowBorderPixmap
XSetWindowColormap
XUndefineCursor
CirculateWindowXCirculateSubwindowsDown
XCirculateSubwindowsUp
XCirculateSubwindows
ClearAreaXClearArea
XClearWindow
CloseFontXFreeFont
XUnloadFont
ConfigureWindowXConfigureWindow
XLowerWindow
XMapRaised
XMoveResizeWindow
XMoveWindow
XRaiseWindow
XReconfigureWMWindow
XResizeWindow
XRestackWindows
XSetWindowBorderWidth
ConvertSelectionXConvertSelection
CopyAreaXCopyArea
CopyColormapAndFreeXCopyColormapAndFree
CopyGCXCopyGC
CopyPlaneXCopyPlane
CreateColormapXCreateColormap
CreateCursorXCreatePixmapCursor
CreateGCXCreateGC
XCreateBitmapFromData
XCreatePixmapFromData
XOpenDisplay
XReadBitmapFile
CreateGlyphCursorXCreateFontCursor
XCreateGlyphCursor
CreatePixmapXCreatePixmap
XCreateBitmapFromData
XCreatePixmapFromData
XReadBitmapFile
CreateWindowXCreateSimpleWindow
XCreateWindow
DeletePropertyXDeleteProperty
DestroySubwindowsXDestroySubwindows
DestroyWindowXDestroyWindow
FillPolyXFillPolygon
ForceScreenSaverXActivateScreenSaver
XForceScreenSaver
XResetScreenSaver
FreeColormapXFreeColormap
FreeColorsXFreeColors
FreeCursorXFreeCursor
FreeGCXFreeGC
XCreateBitmapFromData
XCreatePixmapFromData
XReadBitmapFile
FreePixmapXFreePixmap
GetAtomNameXGetAtomName
GetFontPathXGetFontPath
GetGeometryXGetGeometry
XGetWindowAttributes
GetImageXGetImage
GetInputFocusXGetInputFocus
XSync
XSynchronize
GetKeyboardControlXGetKeyboardControl
GetKeyboardMappingXGetKeyboardMapping
GetModifierMappingXGetModifierMapping
GetMotionEventsXGetMotionEvents
GetPointerControlXGetPointerControl
GetPointerMappingXGetPointerMapping
GetPropertyXFetchBytes
XFetchName
XGetClassHint
XGetIconName
XGetIconSizes
XGetNormalHints
XGetRGBColormaps
XGetSizeHints
XGetTextProperty
XGetTransientForHint
XGetWMClientMachine
XGetWMColormapWindows
XGetWMHints
XGetWMIconName
XGetWMName
XGetWMNormalHints
XGetWMProtocols
XGetWMSizeHints
XGetWindowProperty
XGetZoomHints
GetSelectionOwnerXGetSelectionOwner
GetWindowAttributesXGetWindowAttributes
GrabButtonXGrabButton
GrabKeyXGrabKey
GrabKeyboardXGrabKeyboard
GrabPointerXGrabPointer
GrabServerXGrabServer
ImageText16XDrawImageString16
ImageText8XDrawImageString
InstallColormapXInstallColormap
InternAtomXGetWMColormapWindows
XGetWMProtocols
XIconifyWindow
XInternAtom
XSetWMColormapWindows
XSetWMProtocols
KillClientXKillClient
ListExtensionsXListExtensions
ListFontsXListFonts
ListFontsWithInfoXListFontsWithInfo
ListHostsXListHosts
ListInstalledColormapsXListInstalledColormaps
ListPropertiesXListProperties
LookupColorXLookupColor
XParseColor
MapSubwindowsXMapSubwindows
MapWindowXMapRaised
XMapWindow
NoOperationXNoOp
OpenFontXLoadFont
XLoadQueryFont
PolyArcXDrawArc
XDrawArcs
PolyFillArcXFillArc
XFillArcs
PolyFillRectangleXFillRectangle
XFillRectangles
PolyLineXDrawLines
PolyPointXDrawPoint
XDrawPoints
PolyRectangleXDrawRectangle
XDrawRectangles
PolySegmentXDrawLine
XDrawSegments
PolyText16XDrawString16
XDrawText16
PolyText8XDrawString
XDrawText
PutImageXPutImage
XCreateBitmapFromData
XCreatePixmapFromData
XReadBitmapFile
QueryBestSizeXQueryBestCursor
XQueryBestSize
XQueryBestStipple
XQueryBestTile
QueryColorsXQueryColor
XQueryColors
QueryExtensionXInitExtension
XQueryExtension
QueryFontXLoadQueryFont
XQueryFont
QueryKeymapXQueryKeymap
QueryPointerXQueryPointer
QueryTextExtentsXQueryTextExtents
XQueryTextExtents16
QueryTreeXQueryTree
RecolorCursorXRecolorCursor
ReparentWindowXReparentWindow
RotatePropertiesXRotateBuffers
XRotateWindowProperties
SendEventXIconifyWindow
XReconfigureWMWindow
XSendEvent
XWithdrawWindow
SetClipRectanglesXSetClipRectangles
SetCloseDownModeXSetCloseDownMode
SetDashesXSetDashes
SetFontPathXSetFontPath
SetInputFocusXSetInputFocus
SetModifierMappingXSetModifierMapping
SetPointerMappingXSetPointerMapping
SetScreenSaverXGetScreenSaver
XSetScreenSaver
SetSelectionOwnerXSetSelectionOwner
StoreColorsXStoreColor
XStoreColors
StoreNamedColorXStoreNamedColor
TranslateCoordinatesXTranslateCoordinates
UngrabButtonXUngrabButton
UngrabKeyXUngrabKey
UngrabKeyboardXUngrabKeyboard
UngrabPointerXUngrabPointer
UngrabServerXUngrabServer
UninstallColormapXUninstallColormap
UnmapSubwindowsXUnmapSubWindows
UnmapWindowXUnmapWindow
XWithdrawWindow
WarpPointerXWarpPointer


[Home] [Mail] [X Papers] [X WWW Sites]