Skip to content
  • Gerd Hoffmann's avatar
    2a57c55f
    input-linux: initialize key state · 2a57c55f
    Gerd Hoffmann authored
    
    
    Query input device keys, initialize state accordingly, so the correct
    state is reflected in case any key is pressed at initialization time.
    There is a high chance for this to actually happen for the 'enter' key
    in case you start qemu with a terminal command (directly or virsh).
    
    When finding any pressed keys the input grab is delayed until all keys
    are lifted, to avoid confusing guest and host with appearently stuck
    keys.
    
    Reported-by: default avatarMuted Bytes <mutedbytes@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Message-id: 1476277384-30365-1-git-send-email-kraxel@redhat.com
    2a57c55f
    input-linux: initialize key state
    Gerd Hoffmann authored
    
    
    Query input device keys, initialize state accordingly, so the correct
    state is reflected in case any key is pressed at initialization time.
    There is a high chance for this to actually happen for the 'enter' key
    in case you start qemu with a terminal command (directly or virsh).
    
    When finding any pressed keys the input grab is delayed until all keys
    are lifted, to avoid confusing guest and host with appearently stuck
    keys.
    
    Reported-by: default avatarMuted Bytes <mutedbytes@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Message-id: 1476277384-30365-1-git-send-email-kraxel@redhat.com
Loading