ui/gtk: Ignore 2- and 3-button press events
commit2297db8228cc0ee601a21b3e3f443ab6879f2a06
authorK. Lange <klange@toaruos.org>
Sat, 5 Mar 2022 10:45:21 +0000 (5 19:45 +0900)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Mar 2022 08:27:33 +0000 (18 09:27 +0100)
tree27e580de38440f830c7edfb97e52ce835a0f95f6
parent1d60bb4b14601e38ed17384277aa4c30c57925d3
ui/gtk: Ignore 2- and 3-button press events

GTK already produces corresponding GDK_BUTTON_PRESS events
alongside 2BUTTON and 3BUTTON_PRESS events. The 2BUTTON and
3BUTTON_PRESS events were incorrectly being interpreted and
passed to guests as button release events.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/558
Signed-off-by: K. Lange <klange@toaruos.org>
Message-Id: <20220305104521.3583703-1-klange@toaruos.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c