xkbcommon / libxkbcommon

keymap handling library for toolkits and window systems
https://xkbcommon.org
Other
286 stars 125 forks source link

rules: Fix wild card handling #499

Closed wismill closed 2 months ago

wismill commented 3 months ago

The handling of wild card * is different in libxkbfile and X server: wild card matches empty strings for model and option but not for layout nor variant, while in libxkbcommon wild cards always match empty strings.

See:

The difference of handling between the components is unfortunately not documented, but we should follow the behavior of the original implementations for consistency.

Fixes #497

whot commented 3 months ago

let's cc @daniels and @bluetech explicitly, if this differs from the original implementation there may be a reason for it they remember?

wismill commented 2 months ago

@fooishbar @bluetech kind reminder 🙂