NAME
XkbSetXlibControls - Changes the state of the Library Controls SYNOPSIS unsigned int XkbSetXlibControls (Display *display, unsigned long bitstochange, unsigned long valuesforbits); ARGUMENTS
- display connection to X server
- bitstochange selects controls to be modified
- valuesforbits turns selected controls on (1) or off (0) DESCRIPTION XkbSetXlibControls modifies the state of the controls selected by bitstochange; only the controls selected by bitstochange are modi‐ fied. If the bit corresponding to a control is on in bitstochange and also on in valuesforbits, the control is enabled. If the bit corre‐ sponding to a control is on in bitstochange but off in val‐ uesforbits, the control is disabled. bitstochange should be an inclusive OR of bits from Table 1. Table 1 Library Control Masks ─────────────────────────────────────────────── Library Control Mask Value ─────────────────────────────────────────────── XkbLCForceLatin1Lookup (1 << 0) XkbLCConsumeLookupMods (1 << 1) XkbLCAlwaysConsumeShiftAndLock (1 << 2) XkbLCIgnoreNewKeyboards (1 << 3) XkbLCConsumeKeysOnComposeFail (1 << 29) XkbLCComposeLED (1 << 30) XkbLCBeepOnComposeFail (1 << 31) XkbLCAllControls (0xc0000007) RETURN VALUES (1 << 0) XkbLCForceLatin1Lookup (1 << 1) XkbLCConsumeLookupMods (1 << 2) XkbLCAlwaysConsumeShiftAndLock (1 << 3) XkbLCIgnoreNewKeyboards (1 << 29) XkbLCConsumeKeysOnComposeFail (1 << 30) XkbLCComposeLED (1 << 31) XkbLCBeepOnComposeFail (0xc0000007) XkbLCAllControls X Version 11 libX11 1.6.5 XkbSetXlibControls(3)