XChangeKeyboardControl(display, value_mask, values)
Display *display;
unsigned long value_mask;
XKeyboardControl *values;
display | Specifies the connection to the X server. |
value_mask | Specifies which controls to change. This mask is the bitwise inclusive OR of the valid control mask bits. |
values | Specifies one value for each bit set to 1 in the mask. |
XChangeKeyboardControl() can generate BadMatch and BadValue errors.
BadValue | Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error. |