]> git.proxmox.com Git - qemu.git/commit
vnc: Make ledstate comparison before modifiers updated
authorLei Li <lilei@linux.vnet.ibm.com>
Wed, 15 May 2013 08:20:40 +0000 (16:20 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 15 May 2013 13:48:43 +0000 (08:48 -0500)
commit1483adcf6ac978656718d4383d909c96dce395a6
tree00c0d531145c1a734028501391456952bf105930
parent800ced8cac361c5d492ac82c4aa344ff769ecf2e
vnc: Make ledstate comparison before modifiers updated

The ledstate should be compared before modifiers updated,
otherwise the ledstate would be the same as current_led_state.

Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1368606040-11950-1-git-send-email-lilei@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc.c