mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 01:45:58 +01:00
render overlay layers in reverse
prevents stuff leaking when locked
This commit is contained in:
parent
545e63d1dd
commit
659a5195d4
1 changed files with 3 additions and 2 deletions
|
@ -507,8 +507,9 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
|
|||
renderIMEPopup(&imep, PMONITOR, time);
|
||||
}
|
||||
|
||||
for (auto& ls : PMONITOR->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]) {
|
||||
renderLayer(ls.get(), PMONITOR, time);
|
||||
for (auto ls = PMONITOR->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY].rbegin(); ls != PMONITOR->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY].rend();
|
||||
ls++) {
|
||||
renderLayer(ls->get(), PMONITOR, time);
|
||||
}
|
||||
|
||||
renderDragIcon(PMONITOR, time);
|
||||
|
|
Loading…
Reference in a new issue