]> Git Repo - qemu.git/commit
ui: fix mixup between qnum and qcode in SDL1 key handling
authorDaniel P. BerrangĂ© <[email protected]>
Thu, 1 Feb 2018 18:00:33 +0000 (18:00 +0000)
committerGerd Hoffmann <[email protected]>
Fri, 2 Feb 2018 06:47:16 +0000 (07:47 +0100)
commit8ea9c80a19da93e93852ab61434b1a33fcbaa97a
tree31f06fb7f08657f5fe40e1cce15d14b721bd4da2
parent11ed801d3df3c6e46b2f1f97dcfbf4ca3a2a2f4f
ui: fix mixup between qnum and qcode in SDL1 key handling

The previous commit:

  commit 2ec78706d188df7d3dab43d07b19b05ef7800a44
  Author: Daniel P. Berrange <[email protected]>
  Date:   Wed Jan 17 16:47:15 2018 +0000

    ui: convert GTK and SDL1 frontends to keycodemapdb

changed the x_keymap.c keymap so that its target was qcodes instead of
qnums. It updated the GTK frontend to take account of this change, but
forgot to update the SDL1 frontend. Thus the SDL frontend was getting
qcodes but dispatching them as if they were qnums. IOW, keyboard input
was completely hosed with SDL1. Since the keyboard layout tables are
still all based on qnums, it is easier to just keep SDL1 using qnums as
it will be deleted in a few releases time.

Reported-by: BALATON Zoltan <[email protected]>
Signed-off-by: Daniel P. BerrangĂ© <[email protected]>
Tested-by: BALATON Zoltan <[email protected]>
Message-id: 20180201180033[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/sdl.c
This page took 0.02536 seconds and 4 git commands to generate.