diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-12-03 14:24:25 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-12-03 16:10:40 +1000 |
commit | 9c5dd7337fa93fb1650cc017e523b939dcbf482a (patch) | |
tree | 82687e11b23e3354fee5560c430d6237b35417f1 /dix | |
parent | 463e02e7de5da3e582a3a049110a476713c7210e (diff) |
Let the DDX decide on the XkbRulesDefaults.
Rather than assuming rules in the CoreKeyboardProc, init the default rules in
InitCoreDevices, then re-use them later.
In the xfree86 DDX, set the rules to "base" or "evdev", depending on whether
we'll load kbd or evdev.
If we create a new MD, use pc105,us as default and re-use the rules file used
previously.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/devices.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c index 6b8cecb5a..9feca90b4 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -526,7 +526,6 @@ CoreKeyboardProc(DeviceIntPtr pDev, int what) #ifdef XKB if (!noXkbExtension) { bzero(&names, sizeof(names)); - XkbSetRulesDflts("base", "pc105", "us", NULL, NULL); XkbInitKeyboardDeviceStruct(pDev, &names, &keySyms, modMap, CoreKeyboardBell, CoreKeyboardCtl); } |