Skip to content

session: Scale absolute pointer position with respect to the EI region

Quoting the main commit here:

With the size of the input region now known, the session can now
translate the absolute pointer position from the input region into the
EI region.
To do this, first calculate the scales between these regions and then
divide the position to the scale.

Fixes: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/174

Built on top of: !203 (merged) (to avoid merge conflicts before release) (commits included here)
Depends on: !203 (merged)

Edited by Pascal Nowack

Merge request reports