Skip to content

Commit

Permalink
tools: Fix compile-keymap default KcCGST values
Browse files Browse the repository at this point in the history
Values may be read from the environment.
  • Loading branch information
wismill committed Feb 14, 2025
1 parent 350931a commit 2c10e50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/compile-keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2c10e50

Please sign in to comment.