Also update vmod -> indicator maps Signed-off-by: Daniel Stone <daniel@fooishbar.org>
diff --git a/src/xkbcomp/compat.c b/src/xkbcomp/compat.c
index 932cc2f..fd80d8a 100644
--- a/src/xkbcomp/compat.c
+++ b/src/xkbcomp/compat.c
@@ -1100,6 +1100,10 @@ UpdateModifiersFromCompat(struct xkb_desc *xkb)
}
/* Update vmod -> indicator maps. */
+ for (i = 0; i < XkbNumIndicators; i++) {
+ struct xkb_mods *led = &xkb->indicators->maps[i].mods;
+ led->mask = led->real_mods | VModsToReal(xkb, led->vmods);
+ }
return True;
}