commit | abb4f2c9655503f14dc55064f29c4f59b07e96ff | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Thu Feb 22 08:05:13 2018 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Feb 22 10:35:32 2018 +0100 |
tree | 2de1661b57cc82aeb53d21aeac9e1c1a54dafd87 | |
parent | 23ad24e48cf28ac2542ade657efbf7f802d7c8a0 [diff] |
keymap: consider modifier state when picking a mapping Pass the modifier state to the keymap lookup function. In case multiple keysym -> keycode mappings exist look at the modifier state and prefer the mapping where the modifier state matches. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-id: 20180222070513.8740-6-kraxel@redhat.com