XKB FUNCTIONS XkbGetGeometry(3x11)
NAME
XkbGetGeometry - Loads a keyboard geometry if you already
have the keyboard descriptionSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbGetGeometry (Display *dpy, XkbDescPtr xkb);
ARGUMENTS- dpy
connection to the X server- xkb
keyboard description that contains the ID for the key-
board and into which the geometry should be loadedDESCRIPTION
You can load a keyboard geometry as part of the keyboarddescription returned by XkbGetKeyboard. However, if a key-
board description has been previously loaded, you caninstead obtain the geometry by calling the XkbGetGeometry.
In this case, the geometry returned is the one associatedwith the keyboard whose device ID is contained in the key-
board description.XkbGetGeometry can return BadValue, BadImplementation, Bad-
Name, BadAlloc, or BadLength errors or Success if it succeeds. DIAGNOSTICS BadAlloc Unable to allocate storage BadImplementation Invalid reply from server BadLength The length of a request is shorter or longer than that required to minimally contain the arguments BadName A font or color of the specified name does not exist BadValue An argument is out of rangeSEE ALSO
XkbGetKeyboard(3x11)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libX11 1.3.5 1XKB FUNCTIONS XkbGetGeometry(3x11)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2