Kenton Lee

Xlib Functions and Corresponding X Protocol Requests


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 Xlib functions to the X protocol requests that they generate. The reverse mapping of X protocol requests to Xlib functions 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.

Xlib FunctionX Protocol Request
XActivateScreenSaverForceScreenSaver
XAddHostChangeHosts
XAddHostsChangeHosts
XAddToSaveSetChangeSaveSet
XAllocColorAllocColor
XAllocColorCellsAllocColorCells
XAddToSaveSetChangeSaveSet
XAllocColorAllocColor
XAllocColorCellsAllocColorCells
XAllocColorPlanesAllocColorPlanes
XAllocNamedColorAllocNamedColor
XAllowEventsAllowEvents
XAutoRepeatOffChangeKeyboardControl
XAutoRepeatOnChangeKeyboardControl
XBellBell
XChangeActivePointerGrabChangeActivePointerGrab
XChangeGCChangeGC
XChangeKeyboardControlChangeKeyboardControl
XChangeKeyboardMappingChangeKeyboardMapping
XChangePointerControlChangePointerControl
XChangePropertyChangeProperty
XChangeSaveSetChangeSaveSet
XChangeWindowAttributesChangeWindowAttributes
XCirculateSubwindowsCirculateWindow
XCirculateSubwindowsDownCirculateWindow
XCirculateSubwindowsUpCirculateWindow
XClearAreaClearArea
XClearWindowClearArea
XConfigureWindowConfigureWindow
XConvertSelectionConvertSelection
XCopyAreaCopyArea
XCopyColormapAndFreeCopyColormapAndFree
XCopyGCCopyGC
XCopyPlaneCopyPlane
XCreateBitmapFromDataCreateGC
CreatePixmap
FreeGC
PutImage
XCreateColormapCreateColormap
XCreateFontCursorCreateGlyphCursor
XCreateGCCreateGC
XCreateGlyphCursorCreateGlyphCursor
XCreatePixmapCreatePixmap
XCreatePixmapCursorCreateCursor
XCreatePixmapFromDataCreateGC
CreatePixmap
FreeGC
PutImage
XCreateSimpleWindowCreateWindow
XCreateWindowCreateWindow
XDefineCursorChangeWindowAttributes
XDeletePropertyDeleteProperty
XDestroySubwindowsDestroySubwindows
XDestroyWindowDestroyWindow
XDisableAccessControlSetAccessControl
XDrawArcPolyArc
XDrawArcsPolyArc
XDrawImageStringImageText8
XDrawImageString16ImageText16
XDrawLinePolySegment
XDrawLinesPolyLine
XDrawPointPolyPoint
XDrawPointsPolyPoint
XDrawRectanglePolyRectangle
XDrawRectanglesPolyRectangle
XDrawSegmentsPolySegment
XDrawStringPolyText8
XDrawString16PolyText16
XDrawTextPolyText8
XDrawText16PolyText16
XEnableAccessControlSetAccessControl
XFetchBytesGetProperty
XFetchNameGetProperty
XFillArcPolyFillArc
XFillArcsPolyFillArc
XFillPolygonFillPoly
XFillRectanglePolyFillRectangle
XFillRectanglesPolyFillRectangle
XForceScreenSaverForceScreenSaver
XFreeColormapFreeColormap
XFreeColorsFreeColors
XFreeCursorFreeCursor
XFreeFontCloseFont
XFreeGCFreeGC
XFreePixmapFreePixmap
XGetAtomNameGetAtomName
XGetClassHintGetProperty
XGetFontPathGetFontPath
XGetGeometryGetGeometry
XGetIconNameGetProperty
XGetIconSizesGetProperty
XGetImageGetImage
XGetInputFocusGetInputFocus
XGetKeyboardControlGetKeyboardControl
XGetKeyboardMappingGetKeyboardMapping
XGetModifierMappingGetModifierMapping
XGetMotionEventsGetMotionEvents
XGetModifierMappingGetModifierMapping
XGetNormalHintsGetProperty
XGetPointerControlGetPointerControl
XGetPointerMappingGetPointerMapping
XGetRGBColormapsGetProperty
XGetScreenSaverGetScreenSaver
XGetSelectionOwnerGetSelectionOwner
XGetSizeHintsGetProperty
XGetTextPropertyGetProperty
XGetTransientForHintGetProperty
XGetWMClientMachineGetProperty
XGetWMColormapWindowsGetProperty
InternAtom
XGetWMHintsGetProperty
XGetWMIconNameGetProperty
XGetWMNameGetProperty
XGetWMNormalHintsGetProperty
XGetWMProtocolsGetProperty
InternAtom
XGetWMSizeHintsGetProperty
XGetWindowAttributesGetWindowAttributes
GetGeometry
XGetWindowPropertyGetProperty
XGetZoomHintsGetProperty
XGrabButtonGrabButton
XGrabKeyGrabKey
XGrabKeyboardGrabKeyboard
XGrabPointerGrabPointer
XGrabServerGrabServer
XIconifyWindowInternAtom
SendEvent
XInitExtensionQueryExtension
XInstallColormapInstallColormap
XInternAtomInternAtom
XKillClientKillClient
XListExtensionsListExtensions
XListFontsListFonts
XListFontsWithInfoListFontsWithInfo
XListHostsListHosts
XListInstalledColormapsListInstalledColormaps
XListPropertiesListProperties
XLoadFontOpenFont
XLoadQueryFontOpenFont
QueryFont
XLookupColorLookupColor
XLowerWindowConfigureWindow
XMapRaisedConfigureWindow
MapWindow
XMapSubwindowsMapSubwindows
XMapWindowMapWindow
XMoveResizeWindowConfigureWindow
XMoveWindowConfigureWindow
XNoOpNoOperation
XOpenDisplayCreateGC
XParseColorLookupColor
XPutImagePutImage
XQueryBestCursorQueryBestSize
XQueryBestSizeQueryBestSize
XQueryBestStippleQueryBestSize
XQueryBestTileQueryBestSize
XQueryColorQueryColors
XQueryColorsQueryColors
XQueryExtensionQueryExtension
XQueryFontQueryFont
XQueryKeymapQueryKeymap
XQueryPointerQueryPointer
XQueryTextExtentsQueryTextExtents
XQueryTextExtents16QueryTextExtents
XQueryTreeQueryTree
XRaiseWindowConfigureWindow
XReadBitmapFileCreateGC
CreatePixmap
FreeGC
PutImage
XRecolorCursorRecolorCursor
XReconfigureWMWindowConfigureWindow
SendEvent
XRemoveFromSaveSetChangeSaveSet
XRemoveHostChangeHosts
XRemoveHostsChangeHosts
XReparentWindowReparentWindow
XResetScreenSaverForceScreenSaver
XResizeWindowConfigureWindow
XRestackWindows ConfigureWindow
XRotateBuffersRotateProperties
XRotateWindowPropertiesRotateProperties
XSelectInputChangeWindowAttributes
XSendEventSendEvent
XSetAccessControlSetAccessControl
XSetArcModeChangeGC
XSetBackgroundChangeGC
XSetClassHintChangeProperty
XSetClipMaskChangeGC
XSetClipOriginChangeGC
XSetClipRectanglesSetClipRectangles
XSetCloseDownModeSetCloseDownMode
XSetCommandChangeProperty
XSetDashesSetDashes
XSetFillRuleChangeGC
XSetFillStyleChangeGC
XSetFontChangeGC
XSetFontPathSetFontPath
XSetForegroundChangeGC
XSetFunctionChangeGC
XSetGraphicsExposuresChangeGC
XSetIconNameChangeProperty
XSetIconSizesChangeProperty
XSetInputFocusSetInputFocus
XSetLineAttributesChangeGC
XSetModifierMappingSetModifierMapping
XSetNormalHintsChangeProperty
XSetPlaneMaskChangeGC
XSetPointerMappingSetPointerMapping
XSetRGBColormapsChangeProperty
XSetScreenSaverSetScreenSaver
XSetSelectionOwnerSetSelectionOwner
XSetSizeHintsChangeProperty
XSetStandardPropertiesChangeProperty
XSetStateChangeGC
XSetStippleChangeGC
XSetSubwindowModeChangeGC
XSetTextPropertyChangeProperty
XSetTileChangeGC
XSetTransientForHintChangeProperty
XSetTSOriginChangeGC
XSetWMClientMachineChangeProperty
XSetWMColormapWindowsChangeProperty
InternAtom
XSetWMHintsChangeProperty
XSetWMIconNameChangeProperty
XSetWMNameChangeProperty
XSetWMNormalHintsChangeProperty
XSetWMPropertiesChangeProperty
XSetWMProtocolsChangeProperty
InternAtom
XSetWMSizeHintsChangeProperty
XSetWindowBackgroundChangeWindowAttributes
XSetWindowBackgroundPixmapChangeWindowAttributes
XSetWindowBorderChangeWindowAttributes
XSetWindowBorderPixmapChangeWindowAttributes
XSetWindowBorderWidthConfigureWindow
XSetWindowColormapChangeWindowAttributes
XSetZoomHintsChangeProperty
XStoreBufferChangeProperty
XStoreBytesChangeProperty
XStoreColorStoreColors
XStoreColorsStoreColors
XStoreNameChangeProperty
XStoreNamedColorStoreNamedColor
XSyncGetInputFocus
XSynchronizeGetInputFocus
XTranslateCoordinatesTranslateCoordinates
XUndefineCursorChangeWindowAttributes
XUngrabButtonUngrabButton
XUngrabKeyUngrabKey
XUngrabKeyboardUngrabKeyboard
XUngrabPointerUngrabPointer
XUngrabServerUngrabServer
XUninstallColormapUninstallColormap
XUnloadFontCloseFont
XUnmapSubwindowsUnmapSubwindows
XUnmapWindowUnmapWindow
XWarpPointerWarpPointer
XWithdrawWindowSendEvent
UnmapWindow


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