Skip to content

app: don't scale hotspot in Wayland

lilydjwg requested to merge lilydjwg/gimp:master into master

The hotspot coords are in the cairo surface's coords space, and the cairo surface has half the size as the x2 pixbuf because of scale=2, which makes the hotspot coords remain the same.

With regard to the referred code snippet in the comment, the coords have been scaled in gdk_cursor_new_from_surface.

This fixes #9047 (closed).

update: fixed explanation.

Edited by lilydjwg

Merge request reports