diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-03-28 17:45:05 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2008-03-28 17:46:38 +0200 |
commit | 0ec391f51cef4550daef041110ed93699089bea3 (patch) | |
tree | 2614e462d4a7db430e8e14fb427b7899282a7486 | |
parent | f77410e1f97d394e98c854fd174f712666b0544c (diff) |
Keyboard: Don't allow arbitrary keymap settings
Pretty much dead code anyway.
-rw-r--r-- | src/evdev.c | 3 |
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); |