Skip to content

outputchangeset: Round passed scale

David Edmundson requested to merge work/scale_changes into master

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.

BUG: 465850

Testing done: ran a 1920 screen at 1.15 scale, got a logical size of 1670 which matches what it should be

Edited by David Edmundson

Merge request reports

Loading