Skip to content

outputchangeset: Round passed scale

Vlad Zahorodnii requested to merge work/cherry-pick-30821331 into Plasma/5.27

wl_fixed is lossy even for values that are representable as perfect doubles, 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.

BUG: 465850

(cherry picked from commit 30821331)

Merge request reports