diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 4a6ea6ca..dde2ee67 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1220,15 +1220,8 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR g_pHyprOpenGL->destroyMonitorResources(pMonitor); // updato wlroots - if (!pMonitor->isMirror()) { - wlr_box box = {-UINT16_MAX, -UINT16_MAX, 0, 0}; - wlr_output_layout_get_box(g_pCompositor->m_sWLROutputLayout, pMonitor->output, &box); - - if (!DELTALESSTHAN(box.x, pMonitor->vecPosition.x, 1) || !DELTALESSTHAN(box.y, pMonitor->vecPosition.y, 1)) { - wlr_output_layout_add(g_pCompositor->m_sWLROutputLayout, pMonitor->output, (int)pMonitor->vecPosition.x, (int)pMonitor->vecPosition.y); - Events::listener_change(nullptr, nullptr); - } - } + wlr_output_layout_add(g_pCompositor->m_sWLROutputLayout, pMonitor->output, (int)pMonitor->vecPosition.x, (int)pMonitor->vecPosition.y); + Events::listener_change(nullptr, nullptr); // updato us arrangeLayersForMonitor(pMonitor->ID);