Anytime the keymap is changed, either directly, or indirectly through the keyboard capability being released/initialized, there should be a notification of the modifiers being changed too.
https://bugzilla.gnome.org/show_bug.cgi?id=733563
32565e0 wayland: Notify modifiers after keymap changes
src/wayland/meta-wayland-keyboard.c | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
Upstream: git.gnome.org