Skip to content
Commit 43481ac9 authored by David Edmundson's avatar David Edmundson
Browse files

backends/wayland: Round passed scale

Converting to wl_fixed is lossy. Especially for non-round values like
1.15.

This causes various visual glitches and off sizes.
Given we're using units of 120ths for the fractional scale protocol it
makes sense to fix the passed values for anything else over the wayland
protocol.

CCBUG: 465850


(cherry picked from commit 3b7b173a)
parent 369b18a0
Pipeline #342404 passed with stage
in 1 minute and 36 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment