mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
keymap: pass full keyboard state to keysym2scancode
Pass the keyboard state tracker handle down to keysym2scancode(), so the code can fully inspect the keyboard state as needed. No functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-id: 20190122092814.14919-8-kraxel@redhat.com
This commit is contained in:
parent
c2f2ba4983
commit
4ed26e19d9
4 changed files with 8 additions and 10 deletions
|
@ -273,7 +273,7 @@ static void curses_refresh(DisplayChangeListener *dcl)
|
|||
}
|
||||
|
||||
keycode = keysym2scancode(kbd_layout, keysym & KEYSYM_MASK,
|
||||
false, false, false);
|
||||
NULL);
|
||||
if (keycode == 0)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue