Functions | |
| Bool | XklGetNamesProp (Atom rulesAtomName, char **rulesFileOut, XklConfigRecPtr configOut) |
| Bool | XklSetNamesProp (Atom rulesAtomName, char *rulesFile, XklConfigRecPtr config) |
| Bool | XklBackupNamesProp () |
| Bool | XklRestoreNamesProp () |
| Bool XklBackupNamesProp | ( | ) |
Backups current XKB configuration into some property - if this property is not defined yet.
| Bool XklGetNamesProp | ( | Atom | rulesAtomName, | |
| char ** | rulesFileOut, | |||
| XklConfigRecPtr | configOut | |||
| ) |
Gets the XKB configuration from any root window property
| rulesAtomName | is an atom name of the root window property to read | |
| rulesFileOut | is a pointer to hold the file name | |
| configOut | is a buffer to hold the result - all records are allocated using standard malloc |
| Bool XklRestoreNamesProp | ( | ) |
Restores XKB from the property saved by XklBackupNamesProp
| Bool XklSetNamesProp | ( | Atom | rulesAtomName, | |
| char * | rulesFile, | |||
| XklConfigRecPtr | config | |||
| ) |
Saves the XKB configuration into any root window property
| rulesAtomName | is an atom name of the root window property to write | |
| rulesFile | is a rules file name | |
| config | is a configuration to save |
1.5.1