XKB FUNCTIONS XkbLatchModifiers(3x11)
NAME
XkbLatchModifiers - Latches and unlatches any of the eight
real keyboard modifiersSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Bool XkbLatchModifiers (Display *display, unsigned int
device_spec, unsigned int affect, unsigned int values);
ARGUMENTS display connection to the X serverdevice_spec
device ID, or XkbUseCoreKbd affect mask of real modifiers whose lock state is to change values 1 => lock, 0 => unlock; only for modifiers selected by affectDESCRIPTION
XkbLatchModifiers sends a request to the server to latch the
real modifiers selected by both affect and values and to unlatch the real modifiers selected by affect , but not selected by values.XkbLatchModifiers does not wait for a reply from the server.
It returns True if the request was sent, and False other-
wise.The functions in this section that change the use of modif-
iers use a mask in the parameter affect. It is a bitwise inclusive OR of the legal modifier masks: Table 1 Real Modifier Masks___________________________
Mask___________________________
ShiftMask LockMask ControlMask Mod1Mask Mod2Mask Mod3Mask Mod4Mask Mod5Mask X Version 11 Last change: libX11 1.3.5 1XKB FUNCTIONS XkbLatchModifiers(3x11)
RETURN VALUES
True The XkbLatchModifiers function returns True
if a request was sent to the server to latch the real modifiers selected by both affect and values and to unlatch the real modifiers selected by affect , but not selected by values.False The XkbLatchModifiers function returns False
if the request was not sent.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| 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