aboutsummaryrefslogtreecommitdiff
path: root/ui/x_keymap.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2013-07-22 09:04:32 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-22 12:52:34 -0500
commitb1e749c02172583ca85bb3a964a9b39221f9ac39 (patch)
tree7b7dacc8ce5d56b663278c5ff6df70a2d36364e5 /ui/x_keymap.c
parent549c272b3c7c2aac69155be2e158c970828b2844 (diff)
gtk: Fix accelerator filtering
This is in fact very simply: When the input in grabbed, everything should be exclusively passed to the guest - except it has our magic CTRL-ALT modifier set. Then let GTK filter out those accels that are in use. When checking the modifier state, we just need to filter out NUM and CAPS lock. Note: Filtering based on hard-coded modifiers breaks overriding accelerators. Needs to be fixed at a later point. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/x_keymap.c')
0 files changed, 0 insertions, 0 deletions