]> git.proxmox.com Git - mirror_qemu.git/commit
spice: Use proper enum type for kbd led state
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 10 May 2017 20:20:06 +0000 (15:20 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Jun 2017 07:51:45 +0000 (09:51 +0200)
commitbfefa6d7d6e930429ac3a7ff3347c9c67f069289
tree8b34ebbc8b3338d4e6f011f00aac072861175c4d
parentaf8862b2a2445d0110f3b3125c1a41fbb5934123
spice: Use proper enum type for kbd led state

Although the Qemu and spice flags currently have the same value, it
seems more correct to pass the spice flag values to
spice_server_kbd_leds(), especially considering that this function
already makes an effort to convert between the QEMU_*_LED and
SPICE_KEYBOARD_MODIFIER_* values.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170510202006.31737-1-jjongsma@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-input.c