exo: Do not scale the geometry sent to client in screen coordinates
The geometry sent to the client is in screen coordinates in DP, as opposed to the display's coordinates. Scaling this value does not make sense, as different displays could have different scales. Ideally, we would send a display identfier and the geometry in display coordinates. However, since we don't have a mapping of display_id to wl_output yet in zcr_remote_shell, to avoid adding another soon-to-be-deprecated event to the protocol, we just remove the scaling. BUG=b:167267365 TEST=Manual with client-side change: verify input works on multiple displays with different scale factors. Change-Id: I250bb3f0c631d8783edae39a71b4fb84532d1729 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388720 Commit-Queue: Prabir Pradhan <prabirmsp@chromium.org> Reviewed-by:Mitsuru Oshima (Slow: gardener) <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#805492}
Showing
Please register or sign in to comment