calculate full size more reasonably part 2

This commit is contained in:
vaxerski 2023-04-21 17:33:57 +01:00
parent 8684c8d60f
commit 280ef71448

View File

@ -23,6 +23,8 @@ void CWaylandOutput::updateViewports() {
m_viewports[o->name] = {{0, 0, o->lsSize.x * o->scale, o->lsSize.y * o->scale}, o->name};
fullw = fullw + glm::ivec2{o->lsSize.x * o->scale, 0};
if (o->lsSize.y > fullw.y)
fullw.y = o->lsSize.y;
}
m_fullWidth = fullw.x;