[PATCH] Stop hammering XKB defaults

Dan Nicholson dbn.lists at gmail.com
Thu Jan 29 06:33:18 PST 2009


With the new InitKeyboardDeviceStruct, we can just pass the RMLVO we
want without setting the defaults first.
---
 I didn't actually test this yet, but I thought this was one of the
 benefits of the new InitKeyboardDeviceStruct. What do you think?

 src/evdev.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/evdev.c b/src/evdev.c
index f6442fb..30120b6 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -854,7 +854,6 @@ EvdevAddKeyClass(DeviceIntPtr device)
         SetXkbOption(pInfo, "XkbOptions", &pEvdev->rmlvo.options);
 
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 5
-    XkbSetRulesDflts(&pEvdev->rmlvo);
     if (!InitKeyboardDeviceStruct(device, &pEvdev->rmlvo, NULL, EvdevKbdCtrl))
         return !Success;
 #else
-- 
1.5.6.6




More information about the xorg mailing list