summary refs log tree commit diff stats
path: root/hw/i2c
diff options
context:
space:
mode:
authorDennis Wölfing <denniswoelfing@gmx.de>2021-07-20 16:39:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-07-26 10:24:49 +0200
commitcd6c768f6a4f65a65bd44bdec0638b7fd861ceb1 (patch)
tree9b8d8b41e085b2c09fb5ea05fb7a802b302761b5 /hw/i2c
parenta2376507f615495b1d16685449ce0ea78c2caf9d (diff)
downloadfocaccia-qemu-cd6c768f6a4f65a65bd44bdec0638b7fd861ceb1.tar.gz
focaccia-qemu-cd6c768f6a4f65a65bd44bdec0638b7fd861ceb1.zip
ui/gtk: Fix relative mouse with multiple monitors
To handle relative mouse input the event handler needs to move the mouse
away from the screen edges. Failing to do so results in the mouse
getting stuck at invisible walls. However the current implementation for
this is broken on hosts with multiple monitors.

With multiple monitors the mouse can be located outside of the current
monitor which is not handled by the current code. Also the monitor
itself might be located at coordinates different from (0, 0).

Signed-off-by: Dennis Wölfing <denniswoelfing@gmx.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210720143940.291413-1-denniswoelfing@gmx.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/i2c')
0 files changed, 0 insertions, 0 deletions