spice-widget: fix hotspot position on X11/HiDPI
GDK scales hotspot coordinates using screen scale factor on X11. We need to undo this to get the correct hotspot behavior, otherwise mouse selection becomes very inaccurate and difficult in the guest. See [1]. [1] https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.21/gdk/x11/gdkcursor-x11.c#L556-557 Signed-off-by:Haochen Tong <i@hexchain.org> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
Please register or sign in to comment