1XkbSetXlibControls(3)            XKB FUNCTIONS           XkbSetXlibControls(3)
2
3
4

NAME

6       XkbSetXlibControls - Changes the state of the Library Controls
7

SYNOPSIS

9       unsigned   int  XkbSetXlibControls  (Display  *display,  unsigned  long
10              bits_to_change, unsigned long values_for_bits);
11

ARGUMENTS

13       - display
14              connection to X server
15
16       - bits_to_change
17              selects controls to be modified
18
19       - values_for_bits
20              turns selected controls on (1) or off (0)
21

DESCRIPTION

23       XkbSetXlibControls modifies the  state  of  the  controls  selected  by
24       bits_to_change;  only the controls selected by bits_to_change are modi‐
25       fied. If the bit corresponding to a control is on in bits_to_change and
26       also  on  in values_for_bits, the control is enabled. If the bit corre‐
27       sponding to  a  control  is  on  in  bits_to_change  but  off  in  val‐
28       ues_for_bits,  the  control  is  disabled.  bits_to_change should be an
29       inclusive OR of bits from Table 1.
30
31
32               Table 1 Library Control Masks
33       ───────────────────────────────────────────────
34       Library Control Mask              Value
35       ───────────────────────────────────────────────
36       XkbLC_ForceLatin1Lookup           (1 << 0)
37       XkbLC_ConsumeLookupMods           (1 << 1)
38       XkbLC_AlwaysConsumeShiftAndLock   (1 << 2)
39       XkbLC_IgnoreNewKeyboards          (1 << 3)
40       XkbLC_ConsumeKeysOnComposeFail    (1 << 29)
41       XkbLC_ComposeLED                  (1 << 30)
42       XkbLC_BeepOnComposeFail           (1 << 31)
43       XkbLC_AllControls                 (0xc0000007)
44

RETURN VALUES

46       (1 << 0)       XkbLC_ForceLatin1Lookup
47
48       (1 << 1)       XkbLC_ConsumeLookupMods
49
50       (1 << 2)       XkbLC_AlwaysConsumeShiftAndLock
51
52       (1 << 3)       XkbLC_IgnoreNewKeyboards
53
54       (1 << 29)      XkbLC_ConsumeKeysOnComposeFail
55
56       (1 << 30)      XkbLC_ComposeLED
57
58       (1 << 31)      XkbLC_BeepOnComposeFail
59
60       (0xc0000007)   XkbLC_AllControls
61
62
63
64
65X Version 11                     libX11 1.6.7            XkbSetXlibControls(3)
Impressum