fixed overlay layers being on bottom of fullscreen windows

This commit is contained in:
vaxerski
2022-04-25 21:49:45 +02:00
parent 9eae3b3c3b
commit cabab409e6
2 changed files with 11 additions and 5 deletions

View File

@@ -67,6 +67,12 @@ void CHyprRenderer::renderWorkspaceWithFullscreenWindow(SMonitor* pMonitor, CWor
renderWindow(&w, pMonitor, time, true);
}
// and the overlay layers
for (auto& ls : pMonitor->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]) {
SRenderData renderdata = {pMonitor->output, time, ls->geometry.x, ls->geometry.y};
wlr_surface_for_each_surface(ls->layerSurface->surface, renderSurface, &renderdata);
}
renderDragIcon(pMonitor, time);
// if correct monitor draw hyprerror