From 3560bf7bf4ff34fec63cd5e5ad7fe8e1937d7a49 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 15 Mar 2012 08:36:09 +0000 Subject: [PATCH] Also update vmod -> indicator maps Signed-off-by: Daniel Stone --- src/xkbcomp/compat.c | 4 ++++ 1 file changed, 4 insertions(+) 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; }