summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Li <yan.i.li@intel.com>2009-01-05 16:35:09 +0800
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-06 08:41:24 +1000
commitd170cba0cdd8f7a2e500e094f5b21fc33aefb52a (patch)
treeb821ffc5bb50adc6ad962b38c77b037174d456c4
parent268038270593aae45e2740ad2151243383743c1d (diff)
Fix XkbModel parsing error
Signed-off-by: Yan Li <yan.i.li@intel.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 318c746..14e7f7f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -849,7 +849,7 @@ EvdevAddKeyClass(DeviceIntPtr device)
SetXkbOption(pInfo, "xkb_rules", &pEvdev->xkb_rules);
SetXkbOption(pInfo, "xkb_model", &pEvdev->xkb_model);
if (!pEvdev->xkb_model)
- SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_rules);
+ SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_model);
SetXkbOption(pInfo, "xkb_layout", &pEvdev->xkb_layout);
if (!pEvdev->xkb_layout)
SetXkbOption(pInfo, "XkbLayout", &pEvdev->xkb_layout);