gtk: Fix accelerators being triggered twice with gtk3
commit341a034742ffd87208fa51279537def21a8c39a7
authorCole Robinson <crobinso@redhat.com>
Thu, 24 Apr 2014 17:35:56 +0000 (24 13:35 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 29 Apr 2014 08:46:30 +0000 (29 10:46 +0200)
treed596ac249f66b7941cb2fa508a003835dd0cb8db
parentd4370741402a97b8b6d0c38fef18ab38bf25ab22
gtk: Fix accelerators being triggered twice with gtk3

When keyboard focus is grabbed, current qemu wants to pass every
keypress to the VM, unless the user is pressing a UI accelerator.

That's exactly how things work without any of the fancy handling. Drop
the special handling, which seems to trigger accelerators twice on gtk3.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c