renderer: avoid double-rendering ls-es on fadingOut

fixes #5295
This commit is contained in:
Vaxry 2024-04-04 22:43:57 +01:00
parent 0569b9c300
commit ec2cc79c65

View file

@ -661,6 +661,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
void CHyprRenderer::renderLayer(SLayerSurface* pLayer, CMonitor* pMonitor, timespec* time, bool popups) {
if (pLayer->fadingOut) {
if (!popups)
g_pHyprOpenGL->renderSnapshot(&pLayer);
return;
}