summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Ten (Lynn) <alexeyten@gmail.com>2012-10-23 12:32:31 +0400
committerPeter Hutterer <peter.hutterer@who-t.net>2012-11-06 10:48:32 +1000
commit5b7384a3154a95a805b040e1910e276b52aada96 (patch)
tree633a5ba6b4e6b251a7b2026b517b451d7a5d0b51
parenta194630f7f7b287cb4ea4a459df0745f4c0d4c1a (diff)
Apply partial matches for option (#25873)
Rules which match star (*) and option, like one below, should be applied layout[2] option = symbols * misc:typo = +typo(base) This is port of patch from #19563 (https://bugs.freedesktop.org/19563) because here we have own copy of maprules.c X.Org Bug 25873 <http://bugs.freedesktop.org/show_bug.cgi?id=25873> Signed-off-by: Alexey Ten (Lynn) <alexeyten@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xkb/maprules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkb/maprules.c b/xkb/maprules.c
index c6900eccb..5462763d1 100644
--- a/xkb/maprules.c
+++ b/xkb/maprules.c
@@ -864,6 +864,7 @@ XkbRF_GetComponents(XkbRF_RulesPtr rules,
XkbRF_CheckApplyRules(rules, &mdefs, names, XkbRF_Append);
XkbRF_ApplyPartialMatches(rules, names);
XkbRF_CheckApplyRules(rules, &mdefs, names, XkbRF_Option);
+ XkbRF_ApplyPartialMatches(rules, names);
if (names->keycodes)
names->keycodes = XkbRF_SubstituteVars(names->keycodes, &mdefs);