Skip to content
Commit 1a01716a authored by Jan Kiszka's avatar Jan Kiszka Committed by Gerd Hoffmann
Browse files

gtk: Avoid accel key leakage into guest on console switch



GTK2 sends the accel key to the guest when switching to the graphic
console via that shortcut. Resolve this by ignoring any keys until the
next key-release event. However, do not ignore keys when switching via
the menu or when on GTK3.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 9d677e1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment