aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-03-28 17:45:05 +0200
committerDaniel Stone <daniel@fooishbar.org>2008-03-28 17:46:38 +0200
commit0ec391f51cef4550daef041110ed93699089bea3 (patch)
tree2614e462d4a7db430e8e14fb427b7899282a7486
parentMap REL_DIAL to REL_HWHEEL. (diff)
downloadxf86-input-evdev-0ec391f51cef4550daef041110ed93699089bea3.tar.gz
xf86-input-evdev-0ec391f51cef4550daef041110ed93699089bea3.tar.bz2
xf86-input-evdev-0ec391f51cef4550daef041110ed93699089bea3.zip
Keyboard: Don't allow arbitrary keymap settings
Pretty much dead code anyway.
-rw-r--r--src/evdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evdev.c b/src/evdev.c
index c1f7bba..054e87e 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -701,9 +701,6 @@ EvdevAddKeyClass(DeviceIntPtr device)
if (!pEvdev->xkb_options)
SetXkbOption(pInfo, "XkbOptions", &pEvdev->xkb_options);
- if (pEvdev->xkbnames.keymap)
- pEvdev->xkb_rules = NULL;
-
XkbSetRulesDflts(pEvdev->xkb_rules, pEvdev->xkb_model,
pEvdev->xkb_layout, pEvdev->xkb_variant,
pEvdev->xkb_options);