summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);