mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-19 00:51:16 +00:00
Remove remnants of XkbCF code.
This commit is contained in:
parent
7257590651
commit
9e202dfe40
3 changed files with 3 additions and 42 deletions
|
|
@ -1195,27 +1195,6 @@ xglxKeybdProc (DeviceIntPtr pDevice,
|
|||
names.keymap = XkbInitialMap;
|
||||
}
|
||||
|
||||
file = fopen (XKB_BASE_DIRECTORY XKB_CONFIG_FILE, "r");
|
||||
if (file)
|
||||
{
|
||||
XkbConfigRtrnRec config;
|
||||
|
||||
if (XkbCFParse (file, XkbCFDflts, desc, &config))
|
||||
{
|
||||
if (config.rules_file)
|
||||
rules = config.rules_file;
|
||||
if (config.model)
|
||||
model = config.model;
|
||||
if (config.layout)
|
||||
layout = config.layout;
|
||||
if (config.variant)
|
||||
variants = config.variant;
|
||||
if (config.options)
|
||||
options = config.options;
|
||||
}
|
||||
fclose (file);
|
||||
}
|
||||
|
||||
XkbSetRulesDflts (rules, model, layout, variants, options);
|
||||
|
||||
ret = XkbInitKeyboardDeviceStruct ((pointer) pDev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue