diff --git a/tools/compile-keymap.c b/tools/compile-keymap.c index 67925744..ce8b71d1 100644 --- a/tools/compile-keymap.c +++ b/tools/compile-keymap.c @@ -270,11 +270,14 @@ print_rmlvo(struct xkb_context *ctx, const struct xkb_rule_names *rmlvo) } static int -print_kccgst(struct xkb_context *ctx, const struct xkb_rule_names *rmlvo) +print_kccgst(struct xkb_context *ctx, struct xkb_rule_names *rmlvo) { #if ENABLE_PRIVATE_APIS struct xkb_component_names kccgst; + /* Resolve default RMLVO values */ + xkb_context_sanitize_rule_names(ctx, rmlvo); + if (!xkb_components_from_rules(ctx, rmlvo, &kccgst, NULL)) return EXIT_FAILURE; if (test)