XkbGetXlibControls(3) XKB FUNCTIONS XkbGetXlibControls(3)

# [NAME](#NAME)

XkbGetXlibControls - Determines the current state of the Library Controls

# [SYNOPSIS](#SYNOPSIS)

**unsigned int XkbGetXlibControls** **(Display \*display);**

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

connection to X server

# [DESCRIPTION](#DESCRIPTION)

*XkbGetXlibControls* returns the current state of the Library Controls as a bit mask that is an inclusive OR of the control masks from Table 1 for the controls that are enabled. For the optional compose processing controls, the fact that a control is enabled does not imply that it is actually implemented.

Table 1 Library Control Masks Library Control Mask Value XkbLC\_ForceLatin1Lookup (1 &lt;&lt; 0) XkbLC\_ConsumeLookupMods (1 &lt;&lt; 1) XkbLC\_AlwaysConsumeShiftAndLock (1 &lt;&lt; 2) XkbLC\_IgnoreNewKeyboards (1 &lt;&lt; 3) XkbLC\_ConsumeKeysOnComposeFail (1 &lt;&lt; 29) XkbLC\_ComposeLED (1 &lt;&lt; 30) XkbLC\_BeepOnComposeFail (1 &lt;&lt; 31) XkbLC\_AllControls (0xc0000007)

libX11 1.8.14 X Version 11

---

Document: XkbGetXlibControls(3) from libx11 1.8.14-r1 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
