[lacros] Fix blurry Lacros window when display scale is fractional
This CL makes sure that LaCros windows receive big enough wl_output.scale from exo when display scale is fractional by rounding it up to the closest integer. This is similar to how other compositors (Mutter, Sway) deal with fractional scaling: clients are only aware of integer scaling and the actual contents of windows are scaled down on the compositor side (it's already done in Aura in our case). Bug: 1093021 Change-Id: Ia47dd60dc0cb60396028c1ce108e095ecc84884f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404930Reviewed-by:Mitsuru Oshima (Slow: gardener) <oshima@chromium.org> Commit-Queue: Zakhar Voit <zvoit@igalia.com> Cr-Commit-Position: refs/heads/master@{#806494}
Showing
Please register or sign in to comment