
When resolving what keycodes a key binding resolves to, only look up key codes from the current layout group. Without this, unwanted overlaps may occur. For example when a keymap has both a dvorak and a qwerty layout on different layout groups, one keybinding may be bound on multiple keys, arbitrarily "shadowing" another. https://bugzilla.gnome.org/show_bug.cgi?id=786408