diff --git a/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp b/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp index 726a291..b91de73 100644 --- a/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp +++ b/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp @@ -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;