The source project of this merge request has been removed.
Round up output geometry
Under fractional scaling, output screens can have non-integral sizes. Previous code uses QSizeF::toSize(), which rounds to the nearest integer. This sometimes results in different screens sharing one pixel at the edge, which causes BUG 464842 and BUG 477791.
Implement Output::explicitLogicalSizeInt() and Config::logicalSizeForOutputInt to explicitly round up non-integral sizes, and use them in calculating output geometry.
See kscreen!264 (merged) for the corresponding MR to kscreen kcm. The two MRs should be tested together.
Edited by Yifan Zhu