diff --git a/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp b/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp index 07024f3..c447200 100644 --- a/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp +++ b/src/WallpaperEngine/Render/Drivers/Output/CWaylandOutput.cpp @@ -9,9 +9,15 @@ CWaylandOutput::CWaylandOutput (CApplicationContext& context, CVideoDriver& driv m_driver (driver) { const auto PDRIVER = (CWaylandOpenGLDriver*)&driver; + glm::ivec2 fullw = {0,0}; for (auto& o : PDRIVER->m_outputs) { m_viewports[o->name] = {{0, 0, o->size.x, o->size.y}, o->name}; + + fullw = fullw + glm::ivec2{o->size.x, o->size.y}; } + + m_fullWidth = fullw.x; + m_fullHeight = fullw.y; } CWaylandOutput::~CWaylandOutput ()