mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-21 18:58:24 +00:00
@@ -130,8 +130,15 @@ bool CHyprOpenGLImpl::passRequiresIntrospection(CMonitor* pMonitor) {
|
|||||||
if (pMonitor->solitaryClient)
|
if (pMonitor->solitaryClient)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
for (auto& ls : pMonitor->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]) {
|
||||||
|
const auto XRAYMODE = ls->xray == -1 ? *PXRAY : ls->xray;
|
||||||
|
if (ls->forceBlur && !XRAYMODE)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
for (auto& ls : pMonitor->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) {
|
for (auto& ls : pMonitor->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) {
|
||||||
if (ls->forceBlur && !ls->xray)
|
const auto XRAYMODE = ls->xray == -1 ? *PXRAY : ls->xray;
|
||||||
|
if (ls->forceBlur && !XRAYMODE)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user