
A wayland compositor needs to have more keyboard state than ClutterModifierState exposes, so it makes sense for it to use xkb_state directly. Also, it makes sense for it to provide it's own keymap, to ensure a consistent view between the compositor and the wayland clients. https://bugzilla.gnome.org/show_bug.cgi?id=705710