Chapter 12. Libraries

Table of Contents
Interfaces for libX11
Data Definitions for libX11
Interfaces for libXext
Data Definitions for libXext
Interfaces for libSM
Data Definitions for libSM
Interfaces for libICE
Data Definitions for libICE
Interfaces for libXt
Data Definitions for libXt
Interfaces Definitions for libXt
Interfaces for libGL
Data Definitions for libGL

The X Libraries should be built thread-safe.

Interfaces for libX11

Table 12-1. libX11 Definition

Library:libX11
SONAME:libX11.so.6

The behavior of the interfaces in this library is specified by the following standards.

X11R6.4 Xlib - C library[1]

X Windows System Interface

Table 12-2. libX11 - X Windows System Interface Function Interfaces

XActivateScreenSaver[1]XFetchName[1]XPeekEvent[1]XTranslateCoordinates[1]XkbFreeClientMap[1]
XAddConnectionWatch[1]XFillArc[1]XPeekIfEvent[1]XUndefineCursor[1]XkbFreeCompatMap[1]
XAddExtension[1]XFillArcs[1]XPending[1]XUngrabButton[1]XkbFreeComponentList[1]
XAddHost[1]XFillPolygon[1]XPlanesOfScreen[1]XUngrabKey[1]XkbFreeControls[1]
XAddHosts[1]XFillRectangle[1]XPointInRegion[1]XUngrabKeyboard[1]XkbFreeGeomColors[1]
XAddPixel[1]XFillRectangles[1]XPolygonRegion[1]XUngrabPointer[1]XkbFreeGeomDoodads[1]
XAddToExtensionList[1]XFilterEvent[1]XProcessInternalConnection[1]XUngrabServer[1]XkbFreeGeomKeyAliases[1]
XAddToSaveSet[1]XFindContext[1]XProtocolRevision[1]XUninstallColormap[1]XkbFreeGeomKeys[1]
XAllPlanes[1]XFindOnExtensionList[1]XProtocolVersion[1]XUnionRectWithRegion[1]XkbFreeGeomOutlines[1]
XAllocClassHint[1]XFlush[1]XPutBackEvent[1]XUnionRegion[1]XkbFreeGeomOverlayKeys[1]
XAllocColor[1]XFlushGC[1]XPutImage[1]XUnloadFont[1]XkbFreeGeomOverlayRows[1]
XAllocColorCells[1]XFontsOfFontSet[1]XPutPixel[1]XUnlockDisplay[1]XkbFreeGeomOverlays[1]
XAllocColorPlanes[1]XForceScreenSaver[1]XQLength[1]XUnmapSubwindows[1]XkbFreeGeomPoints[1]
XAllocIconSize[1]XFree[1]XQueryBestCursor[1]XUnmapWindow[1]XkbFreeGeomProperties[1]
XAllocNamedColor[1]XFreeColormap[1]XQueryBestSize[1]XUnregisterIMInstantiateCallback[1]XkbFreeGeomRows[1]
XAllocSizeHints[1]XFreeColors[1]XQueryBestStipple[1]XUnsetICFocus[1]XkbFreeGeomSections[1]
XAllocStandardColormap[1]XFreeCursor[1]XQueryBestTile[1]XVaCreateNestedList[1]XkbFreeGeomShapes[1]
XAllocWMHints[1]XFreeExtensionList[1]XQueryColor[1]XVendorRelease[1]XkbFreeGeometry[1]
XAllowEvents[1]XFreeFont[1]XQueryColors[1]XVisualIDFromVisual[1]XkbFreeIndicatorMaps[1]
XAutoRepeatOff[1]XFreeFontInfo[1]XQueryExtension[1]XWMGeometry[1]XkbFreeKeyboard[1]
XAutoRepeatOn[1]XFreeFontNames[1]XQueryFont[1]XWarpPointer[1]XkbFreeNames[1]
XBaseFontNameListOfFontSet[1]XFreeFontPath[1]XQueryKeymap[1]XWhitePixel[1]XkbFreeServerMap[1]
XBell[1]XFreeFontSet[1]XQueryPointer[1]XWhitePixelOfScreen[1]XkbGetAutoRepeatRate[1]
XBitmapBitOrder[1]XFreeGC[1]XQueryTextExtents[1]XWidthMMOfScreen[1]XkbGetCompatMap[1]
XBitmapPad[1]XFreeModifiermap[1]XQueryTextExtents16[1]XWidthOfScreen[1]XkbGetControls[1]
XBitmapUnit[1]XFreePixmap[1]XQueryTree[1]XWindowEvent[1]XkbGetGeometry[1]
XBlackPixel[1]XFreeStringList[1]XRaiseWindow[1]XWithdrawWindow[1]XkbGetIndicatorMap[1]
XBlackPixelOfScreen[1]XGContextFromGC[1]XReadBitmapFile[1]XWriteBitmapFile[1]XkbGetIndicatorState[1]
XCellsOfScreen[1]XGeometry[1]XReadBitmapFileData[1]XXorRegion[1]XkbGetKeyActions[1]
XChangeActivePointerGrab[1]XGetAtomName[1]XRebindKeysym[1]XauDisposeAuth[1]XkbGetKeyBehaviors[1]
XChangeGC[1]XGetAtomNames[1]XRecolorCursor[1]XauFileName[1]XkbGetKeyExplicitComponents[1]
XChangeKeyboardControl[1]XGetClassHint[1]XReconfigureWMWindow[1]XauGetBestAuthByAddr[1]XkbGetKeyModifierMap[1]
XChangeKeyboardMapping[1]XGetCommand[1]XRectInRegion[1]XauReadAuth[1]XkbGetKeySyms[1]
XChangePointerControl[1]XGetDefault[1]XRefreshKeyboardMapping[1]XcmsAddColorSpace[1]XkbGetKeyTypes[1]
XChangeProperty[1]XGetErrorDatabaseText[1]XRegisterIMInstantiateCallback[1]XcmsAddFunctionSet[1]XkbGetKeyboard[1]
XChangeSaveSet[1]XGetErrorText[1]XRemoveConnectionWatch[1]XcmsAllocColor[1]XkbGetKeyboardByName[1]
XChangeWindowAttributes[1]XGetFontPath[1]XRemoveFromSaveSet[1]XcmsAllocNamedColor[1]XkbGetMap[1]
XCheckIfEvent[1]XGetFontProperty[1]XRemoveHost[1]XcmsCCCOfColormap[1]XkbGetMapChanges[1]
XCheckMaskEvent[1]XGetGCValues[1]XRemoveHosts[1]XcmsCIELabClipL[1]XkbGetNamedGeometry[1]
XCheckTypedEvent[1]XGetGeometry[1]XReparentWindow[1]XcmsCIELabClipLab[1]XkbGetNamedIndicator[1]
XCheckTypedWindowEvent[1]XGetICValues[1]XResetScreenSaver[1]XcmsCIELabClipab[1]XkbGetNames[1]
XCheckWindowEvent[1]XGetIMValues[1]XResizeWindow[1]XcmsCIELabQueryMaxC[1]XkbGetState[1]
XCirculateSubwindows[1]XGetIconName[1]XResourceManagerString[1]XcmsCIELabQueryMaxL[1]XkbGetUpdatedMap[1]
XCirculateSubwindowsDown[1]XGetIconSizes[1]XRestackWindows[1]XcmsCIELabQueryMaxLC[1]XkbGetVirtualMods[1]
XCirculateSubwindowsUp[1]XGetImage[1]XRootWindow[1]XcmsCIELabQueryMinL[1]XkbGetXlibControls[1]
XClearArea[1]XGetInputFocus[1]XRootWindowOfScreen[1]XcmsCIELabToCIEXYZ[1]XkbIgnoreExtension[1]
XClearWindow[1]XGetKeyboardControl[1]XRotateBuffers[1]XcmsCIELabWhiteShiftColors[1]XkbInitCanonicalKeyTypes[1]
XClipBox[1]XGetKeyboardMapping[1]XRotateWindowProperties[1]XcmsCIELuvClipL[1]XkbKeyTypesForCoreSymbols[1]
XCloseDisplay[1]XGetModifierMapping[1]XSaveContext[1]XcmsCIELuvClipLuv[1]XkbKeycodeToKeysym[1]
XCloseIM[1]XGetMotionEvents[1]XScreenCount[1]XcmsCIELuvClipuv[1]XkbKeysymToModifiers[1]
XCloseOM[1]XGetNormalHints[1]XScreenNumberOfScreen[1]XcmsCIELuvQueryMaxC[1]XkbLatchGroup[1]
XConfigureWindow[1]XGetOCValues[1]XScreenOfDisplay[1]XcmsCIELuvQueryMaxL[1]XkbLatchModifiers[1]
XConnectionNumber[1]XGetOMValues[1]XScreenResourceString[1]XcmsCIELuvQueryMaxLC[1]XkbLibraryVersion[1]
XContextDependentDrawing[1]XGetPixel[1]XSelectInput[1]XcmsCIELuvQueryMinL[1]XkbListComponents[1]
XContextualDrawing[1]XGetPointerControl[1]XSendEvent[1]XcmsCIELuvToCIEuvY[1]XkbLockGroup[1]
XConvertCase[1]XGetPointerMapping[1]XServerVendor[1]XcmsCIELuvWhiteShiftColors[1]XkbLockModifiers[1]
XConvertSelection[1]XGetRGBColormaps[1]XSetAccessControl[1]XcmsCIEXYZToCIELab[1]XkbLookupKeyBinding[1]
XCopyArea[1]XGetScreenSaver[1]XSetAfterFunction[1]XcmsCIEXYZToCIEuvY[1]XkbLookupKeySym[1]
XCopyColormapAndFree[1]XGetSelectionOwner[1]XSetArcMode[1]XcmsCIEXYZToCIExyY[1]XkbNoteControlsChanges[1]
XCopyGC[1]XGetSizeHints[1]XSetAuthorization[1]XcmsCIEXYZToRGBi[1]XkbNoteMapChanges[1]
XCopyPlane[1]XGetStandardColormap[1]XSetBackground[1]XcmsCIEuvYToCIELuv[1]XkbNoteNameChanges[1]
XCreateBitmapFromData[1]XGetSubImage[1]XSetClassHint[1]XcmsCIEuvYToCIEXYZ[1]XkbOpenDisplay[1]
XCreateColormap[1]XGetTextProperty[1]XSetClipMask[1]XcmsCIEuvYToTekHVC[1]XkbQueryExtension[1]
XCreateFontCursor[1]XGetTransientForHint[1]XSetClipOrigin[1]XcmsCIExyYToCIEXYZ[1]XkbRefreshKeyboardMapping[1]
XCreateFontSet[1]XGetVisualInfo[1]XSetClipRectangles[1]XcmsClientWhitePointOfCCC[1]XkbResizeKeyActions[1]
XCreateGC[1]XGetWMClientMachine[1]XSetCloseDownMode[1]XcmsConvertColors[1]XkbResizeKeySyms[1]
XCreateGlyphCursor[1]XGetWMColormapWindows[1]XSetCommand[1]XcmsCreateCCC[1]XkbResizeKeyType[1]
XCreateIC[1]XGetWMHints[1]XSetDashes[1]XcmsDefaultCCC[1]XkbSelectEventDetails[1]
XCreateImage[1]XGetWMIconName[1]XSetErrorHandler[1]XcmsDisplayOfCCC[1]XkbSelectEvents[1]
XCreateOC[1]XGetWMName[1]XSetFillRule[1]XcmsFormatOfPrefix[1]XkbSetAtomFuncs[1]
XCreatePixmap[1]XGetWMNormalHints[1]XSetFillStyle[1]XcmsFreeCCC[1]XkbSetAutoRepeatRate[1]
XCreatePixmapCursor[1]XGetWMProtocols[1]XSetFont[1]XcmsLookupColor[1]XkbSetAutoResetControls[1]
XCreatePixmapFromBitmapData[1]XGetWMSizeHints[1]XSetFontPath[1]XcmsPrefixOfFormat[1]XkbSetCompatMap[1]
XCreateRegion[1]XGetWindowAttributes[1]XSetForeground[1]XcmsQueryBlack[1]XkbSetControls[1]
XCreateSimpleWindow[1]XGetWindowProperty[1]XSetFunction[1]XcmsQueryBlue[1]XkbSetDebuggingFlags[1]
XCreateWindow[1]XGetZoomHints[1]XSetGraphicsExposures[1]XcmsQueryColor[1]XkbSetDetectableAutoRepeat[1]
XDefaultColormap[1]XGrabButton[1]XSetICFocus[1]XcmsQueryColors[1]XkbSetGeometry[1]
XDefaultColormapOfScreen[1]XGrabKey[1]XSetICValues[1]XcmsQueryGreen[1]XkbSetIgnoreLockMods[1]
XDefaultDepth[1]XGrabKeyboard[1]XSetIMValues[1]XcmsQueryRed[1]XkbSetIndicatorMap[1]
XDefaultDepthOfScreen[1]XGrabPointer[1]XSetIOErrorHandler[1]XcmsQueryWhite[1]XkbSetMap[1]
XDefaultGC[1]XGrabServer[1]XSetIconName[1]XcmsRGBToRGBi[1]XkbSetNamedIndicator[1]
XDefaultGCOfScreen[1]XHeightMMOfScreen[1]XSetIconSizes[1]XcmsRGBiToCIEXYZ[1]XkbSetNames[1]
XDefaultRootWindow[1]XHeightOfScreen[1]XSetInputFocus[1]XcmsRGBiToRGB[1]XkbSetServerInternalMods[1]
XDefaultScreen[1]XIMOfIC[1]XSetLineAttributes[1]XcmsScreenNumberOfCCC[1]XkbSetXlibControls[1]
XDefaultScreenOfDisplay[1]XIconifyWindow[1]XSetLocaleModifiers[1]XcmsScreenWhitePointOfCCC[1]XkbToControl[1]
XDefaultString[1]XIfEvent[1]XSetModifierMapping[1]XcmsSetCCCOfColormap[1]XkbTranslateKeyCode[1]
XDefaultVisual[1]XImageByteOrder[1]XSetNormalHints[1]XcmsSetCompressionProc[1]XkbTranslateKeySym[1]
XDefaultVisualOfScreen[1]XInitExtension[1]XSetOCValues[1]XcmsSetWhiteAdjustProc[1]XkbUpdateMapFromCore[1]
XDefineCursor[1]XInitImage[1]XSetOMValues[1]XcmsSetWhitePoint[1]XkbUseExtension[1]
XDeleteContext[1]XInitThreads[1]XSetPlaneMask[1]XcmsStoreColor[1]XkbVirtualModsToReal[1]
XDeleteModifiermapEntry[1]XInsertModifiermapEntry[1]XSetPointerMapping[1]XcmsStoreColors[1]XmbDrawImageString[1]
XDeleteProperty[1]XInstallColormap[1]XSetRGBColormaps[1]XcmsTekHVCClipC[1]XmbDrawString[1]
XDestroyIC[1]XInternAtom[1]XSetRegion[1]XcmsTekHVCClipV[1]XmbDrawText[1]
XDestroyImage[1]XInternAtoms[1]XSetScreenSaver[1]XcmsTekHVCClipVC[1]XmbLookupString[1]
XDestroyOC[1]XInternalConnectionNumbers[1]XSetSelectionOwner[1]XcmsTekHVCQueryMaxC[1]XmbResetIC[1]
XDestroyRegion[1]XIntersectRegion[1]XSetSizeHints[1]XcmsTekHVCQueryMaxV[1]XmbSetWMProperties[1]
XDestroySubwindows[1]XKeycodeToKeysym[1]XSetStandardColormap[1]XcmsTekHVCQueryMaxVC[1]XmbTextEscapement[1]
XDestroyWindow[1]XKeysymToKeycode[1]XSetStandardProperties[1]XcmsTekHVCQueryMaxVSamples[1]XmbTextExtents[1]
XDirectionalDependentDrawing[1]XKeysymToString[1]XSetState[1]XcmsTekHVCQueryMinV[1]XmbTextListToTextProperty[1]
XDisableAccessControl[1]XKillClient[1]XSetStipple[1]XcmsTekHVCToCIEuvY[1]XmbTextPerCharExtents[1]
XDisplayCells[1]XLastKnownRequestProcessed[1]XSetSubwindowMode[1]XcmsTekHVCWhiteShiftColors[1]XmbTextPropertyToTextList[1]
XDisplayHeight[1]XListDepths[1]XSetTSOrigin[1]XcmsVisualOfCCC[1]XrmCombineDatabase[1]
XDisplayHeightMM[1]XListExtensions[1]XSetTextProperty[1]XkbAllocClientMap[1]XrmCombineFileDatabase[1]
XDisplayKeycodes[1]XListFonts[1]XSetTile[1]XkbAllocCompatMap[1]XrmDestroyDatabase[1]
XDisplayMotionBufferSize[1]XListFontsWithInfo[1]XSetTransientForHint[1]XkbAllocControls[1]XrmEnumerateDatabase[1]
XDisplayName[1]XListHosts[1]XSetWMClientMachine[1]XkbAllocGeomColors[1]XrmGetDatabase[1]
XDisplayOfIM[1]XListInstalledColormaps[1]XSetWMColormapWindows[1]XkbAllocGeomDoodads[1]XrmGetFileDatabase[1]
XDisplayOfOM[1]XListPixmapFormats[1]XSetWMHints[1]XkbAllocGeomKeyAliases[1]XrmGetResource[1]
XDisplayOfScreen[1]XListProperties[1]XSetWMIconName[1]XkbAllocGeomKeys[1]XrmGetStringDatabase[1]
XDisplayPlanes[1]XLoadFont[1]XSetWMName[1]XkbAllocGeomOutlines[1]XrmInitialize[1]
XDisplayString[1]XLoadQueryFont[1]XSetWMNormalHints[1]XkbAllocGeomOverlayKeys[1]XrmLocaleOfDatabase[1]
XDisplayWidth[1]XLocaleOfFontSet[1]XSetWMProperties[1]XkbAllocGeomOverlayRows[1]XrmMergeDatabases[1]
XDisplayWidthMM[1]XLocaleOfIM[1]XSetWMProtocols[1]XkbAllocGeomOverlays[1]XrmParseCommand[1]
XDoesBackingStore[1]XLocaleOfOM[1]XSetWMSizeHints[1]XkbAllocGeomPoints[1]XrmPermStringToQuark[1]
XDoesSaveUnders[1]XLockDisplay[1]XSetWindowBackground[1]XkbAllocGeomProps[1]XrmPutFileDatabase[1]
XDrawArc[1]XLookupColor[1]XSetWindowBackgroundPixmap[1]XkbAllocGeomRows[1]XrmPutLineResource[1]
XDrawArcs[1]XLookupKeysym[1]XSetWindowBorder[1]XkbAllocGeomSectionDoodads[1]XrmPutResource[1]
XDrawImageString[1]XLookupString[1]XSetWindowBorderPixmap[1]XkbAllocGeomSections[1]XrmPutStringResource[1]
XDrawImageString16[1]XLowerWindow[1]XSetWindowBorderWidth[1]XkbAllocGeomShapes[1]XrmQGetResource[1]
XDrawLine[1]XMapRaised[1]XSetWindowColormap[1]XkbAllocGeometry[1]XrmQGetSearchList[1]
XDrawLines[1]XMapSubwindows[1]XSetZoomHints[1]XkbAllocIndicatorMaps[1]XrmQGetSearchResource[1]
XDrawPoint[1]XMapWindow[1]XShrinkRegion[1]XkbAllocKeyboard[1]XrmQPutResource[1]
XDrawPoints[1]XMaskEvent[1]XStoreBuffer[1]XkbAllocNames[1]XrmQPutStringResource[1]
XDrawRectangle[1]XMatchVisualInfo[1]XStoreBytes[1]XkbAllocServerMap[1]XrmQuarkToString[1]
XDrawRectangles[1]XMaxCmapsOfScreen[1]XStoreColor[1]XkbApplyCompatMapToKey[1]XrmSetDatabase[1]
XDrawSegments[1]XMaxRequestSize[1]XStoreColors[1]XkbBell[1]XrmStringToBindingQuarkList[1]
XDrawString[1]XMinCmapsOfScreen[1]XStoreName[1]XkbBellEvent[1]XrmStringToQuark[1]
XDrawString16[1]XMoveResizeWindow[1]XStoreNamedColor[1]XkbChangeEnabledControls[1]XrmStringToQuarkList[1]
XDrawText[1]XMoveWindow[1]XStringListToTextProperty[1]XkbChangeMap[1]XrmUniqueQuark[1]
XDrawText16[1]XNewModifiermap[1]XStringToKeysym[1]XkbChangeNames[1]XwcDrawImageString[1]
XEHeadOfExtensionList[1]XNextEvent[1]XSubImage[1]XkbChangeTypesOfKey[1]XwcDrawString[1]
XEmptyRegion[1]XNextRequest[1]XSubtractRegion[1]XkbComputeEffectiveMap[1]XwcDrawText[1]
XEnableAccessControl[1]XNoOp[1]XSupportsLocale[1]XkbComputeRowBounds[1]XwcFreeStringList[1]
XEqualRegion[1]XOMOfOC[1]XSync[1]XkbComputeSectionBounds[1]XwcLookupString[1]
XEventMaskOfScreen[1]XOffsetRegion[1]XSynchronize[1]XkbComputeShapeBounds[1]XwcResetIC[1]
XEventsQueued[1]XOpenDisplay[1]XTextExtents[1]XkbComputeShapeTop[1]XwcTextEscapement[1]
XExtendedMaxRequestSize[1]XOpenIM[1]XTextExtents16[1]XkbCopyKeyType[1]XwcTextExtents[1]
XExtentsOfFontSet[1]XOpenOM[1]XTextPropertyToStringList[1]XkbCopyKeyTypes[1]XwcTextListToTextProperty[1]
XFetchBuffer[1]XParseColor[1]XTextWidth[1]XkbFindOverlayForKey[1]XwcTextPerCharExtents[1]
XFetchBytes[1]XParseGeometry[1]XTextWidth16[1]XkbForceBell[1]XwcTextPropertyToTextList[1]

Notes

[1]

X11R6.4 Xlib - C library