diff options
| author | Weifeng Liu <weifeng.liu@intel.com> | 2025-05-11 15:33:15 +0800 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-05-24 17:03:31 +0200 |
| commit | 30aa105640b0a2a541744b6584d57c9a4b86debd (patch) | |
| tree | 7dd4c76e6cd568c6b25c225f3dd632cfb79be66d /include/qobject/json-parser.h | |
| parent | 8fb072472c38cb1778c5b0bebf535a8b13533857 (diff) | |
| download | focaccia-qemu-30aa105640b0a2a541744b6584d57c9a4b86debd.tar.gz focaccia-qemu-30aa105640b0a2a541744b6584d57c9a4b86debd.zip | |
ui/sdl: Consider scaling in mouse event handling
When using sdl display backend, if the window is scaled, incorrect mouse positions will be reported since scaling is not properly handled. Fix it by transforming the positions from window coordinate to guest buffer coordinate. Signed-off-by: Weifeng Liu <weifeng.liu@intel.com> Message-ID: <20250511073337.876650-6-weifeng.liu.z@gmail.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'include/qobject/json-parser.h')
0 files changed, 0 insertions, 0 deletions