
The coordinates are effectively in the windowing system coordinate space, which when scaling Xwayland, we need to scale these. Do this with the Meta.Window.protocol_to_stage() function on the focused window, which handles it correctly for the corresponding windowing system and configuration. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3458>