Also update vmod -> indicator maps

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-03-15 08:36:09 +00:00
parent 0e0b5b00af
commit 3560bf7bf4
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}