renderer: go back to rendering layers without reverse

This commit is contained in:
vaxerski 2023-03-31 17:44:36 +01:00
parent 24ef5d888c
commit de3b00b5ee

View file

@ -570,9 +570,8 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
renderIMEPopup(&imep, PMONITOR, time); renderIMEPopup(&imep, PMONITOR, time);
} }
for (auto ls = PMONITOR->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY].rbegin(); ls != PMONITOR->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY].rend(); for (auto& ls : PMONITOR->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]) {
ls++) { renderLayer(ls.get(), PMONITOR, time);
renderLayer(ls->get(), PMONITOR, time);
} }
renderDragIcon(PMONITOR, time); renderDragIcon(PMONITOR, time);