exo: Expect display coordinates for StartDrag
In ClientControlledShellSurface, when default scale cancellation is disabled, the client will send location values in the display's coordinate space in pixels. The server previously converted the location value into pixels but also expected that it was in the screen coordinates and performed a conversion. The server now assumes the location is already in the display's coordinate when default scale cancellation is disabled, skipping the conversion. BUG=b:177089882 TEST=manual: Try resizing and moving a PIP window on an external display at different scale factors. Change-Id: I10625001d0943c0eaaf1bd6decdb25f714e42b09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618910Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Prabir Pradhan <prabirmsp@chromium.org> Cr-Commit-Position: refs/heads/master@{#843352}
Showing
Please register or sign in to comment