summaryrefslogtreecommitdiff
path: root/src
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 /src
parentf77410e1f97d394e98c854fd174f712666b0544c (diff)
Keyboard: Don't allow arbitrary keymap settings
Pretty much dead code anyway.
Diffstat (limited to 'src')
-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);