platforms/wayland: Round up fractional scale factors
Currently, fractional scale factors that are less than 1 will be floored to 0, which is a protocol violation. CCBUG: 432766
... | ... | @@ -313,7 +313,7 @@ void EglWaylandBackend::presentOnSurface(EglWaylandOutput *output, const QRegion |
WaylandOutput *waylandOutput = output->m_waylandOutput; | ||
waylandOutput->surface()->setupFrameCallback(); | ||
waylandOutput->surface()->setScale(waylandOutput->scale()); | ||
waylandOutput->surface()->setScale(std::ceil(waylandOutput->scale())); | ||
|
||
Q_EMIT waylandOutput->outputChange(damage); | ||
if (supportsSwapBuffersWithDamage() && !output->m_damageHistory.isEmpty()) { | ||
... | ... |