Also update vmod -> indicator maps
Signed-off-by: Daniel Stone <daniel@fooishbar.org>master
parent
0e0b5b00af
commit
3560bf7bf4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue