From 2f582fa50bb1b8104571c381668aeb0c2643ac54 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sun, 23 Aug 2009 12:59:24 +0200 Subject: [PATCH] Set XKB default rules when initializing the core keyboard device --- dix/devices.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dix/devices.c b/dix/devices.c index 3b8d544..8b46dbb 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -530,6 +530,9 @@ 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); } -- 1.6.2.5