summaryrefslogtreecommitdiff
path: root/src/scale.c
AgeCommit message (Collapse)Author
2023-03-06Add fractional scaling support.Phil Jones
The main change is that we now always have to set up the dummy surface which was previously only used when multiple monitors were present. This is because there's no way to determine an output's fractional scale factor without displaying a surface on it, and we need to know the scale factor before we create our main window surface. The extra compositor round-trips lead to a slight slowdown for single monitor setups (to the same speed as multi-monitor setups), but it's currently unavoidable as far as I know.