XkbFreeControls − Frees memory used by the ctrls member of an XkbDescRec structure


void XkbFreeControls

(XkbDescPtr xkb, unsigned int which, Bool



− xkb

Xkb description in which to free controls components

− which

mask of components of ctrls to free

− free_all

True => free everything + ctrls itself


XkbFreeControls frees the specified components of the ctrls field in the xkb keyboard description and sets the corresponding structure component values to NULL or zero. The which mask specifies the fields of ctrls to be freed and can contain any of the controls components specified in Table 1.

Table 1 shows the actual values for the individual mask bits used to select controls for modification and to enable and disable the control. Note that the same mask bit is used to specify general modifications to the parameters used to configure the control (which), and to enable and disable the control (enabled_ctrls). The anomalies in the table (no "ok" in column) are for controls that have no configurable attributes; and for controls that are not boolean controls and therefore cannot be enabled or disabled.

If free_all is True, XkbFreeControls frees every non-NULL structure component in the controls, frees the XkbControlsRec structure referenced by the ctrls member of xkb, and sets ctrls to NULL.

More Linux Commands

gnutls_dtls_get_data_mtu(3) - API function - Linux man page
This function will return the actual maximum transfer unit for application data. I.e. DTLS headers are subtracted from the actual MTU. RETURNS the maximum allow

wcscasecmp(3) - compare two wide-character strings, ignoring
The wcscasecmp() function is the wide-character equivalent of the strcasecmp(3) function. It compares the wide-character string pointed to by s1 and the wide-ch

audit(8) set an AppArmor security profile to audit mode.....
aa-audit is used to set one or more profiles to audit mode. In this mode security policy is enforced and all access (successes and failures) are logged to the s

dracut-pre-mount.service(8) runs the dracut hooks before sys
This service runs all dracut hooks before the real root is mounted on /sysroot. AUTHORS Harald Hoyer SEE ALSO dracut.bootup(7) dracut(8) dracut-pre-mount.servic

snmp_open(3) - netsnmp_session_api functions (Man Page).....
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After

Tcl_DictObjPutKeyList(3) - manipulate Tcl objects as diction
Tcl dictionary objects have an internal representation that supports efficient mapping from keys to values and which guarantees that the particular ordering of

DBI::W32ODBC(3pm) - An experimental DBI emulation layer for
This is an experimental pure perl DBI emulation layer for Win32::ODBC If you can improve this code Id be interested in hearing about it. If you are having troub

ldap_parse_vlv_control(3) - Decode the information returned
The ldap_parse_vlv_control is used to decode the information returned from a search operation that used a VLV (virtual list view)control. It takes a null termin

perlnumber(1) - semantics of numbers and numeric operations
This document describes how Perl internally handles numeric values. Perls operator overloading facility is completely ignored here. Operator overloading allows

Tcl_MutexLock(3) - Tcl thread support - Linux manual page...
Tcl provides Tcl_CreateThread for creating threads. The caller can determine the size of the stack given to the new thread and modify the behaviour through the

fc-validate(1) validate font files - Linux manual page......
fc-validate validates font-file(s) if each fonts satisfies the language coverage according to the orthography files in fontconfig. If --index is given, only one

flockfile(3) - lock FILE for stdio - Linux manual page......
flockfile.3 - The stdio functions are thread-safe. This is achieved by assigning to each FILE object a lockcount and (if the lockcount is nonzero) an owning thr

We can't live, work or learn in freedom unless the software we use is free.