aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-input-pci.c
diff options
context:
space:
mode:
authorErico Nunes <ernunes@redhat.com>2023-03-20 17:08:56 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-05-28 13:08:25 +0400
commitf8a951bb951140a585341c700ebeec58d83f7bbc (patch)
treeeba1b6e6a79b10ed15ffe8e99bfef106b2a5b030 /hw/virtio/virtio-input-pci.c
parent2f31663ed4b5631b5e1c79f5cdd6463e55410eb8 (diff)
downloadqemu-f8a951bb951140a585341c700ebeec58d83f7bbc.zip
qemu-f8a951bb951140a585341c700ebeec58d83f7bbc.tar.gz
qemu-f8a951bb951140a585341c700ebeec58d83f7bbc.tar.bz2
ui/gtk-egl: fix scaling for cursor position in scanout mode
vc->gfx.w and vc->gfx.h are not updated appropriately in this code path, which leads to a different scaling factor for rendering the cursor on some edge cases (e.g. the focus has left and re-entered the gtk window). This can be reproduced using vhost-user-gpu with the gtk ui on the x11 backend. Use the surface dimensions which are already updated accordingly. Signed-off-by: Erico Nunes <ernunes@redhat.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230320160856.364319-2-ernunes@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-input-pci.c')
0 files changed, 0 insertions, 0 deletions