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>
This commit is contained in:
parent
a194630f7f
commit
5b7384a315
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user