diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/desktop/LayerSurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp index 0faa47d2..de808e2a 100644 --- a/src/desktop/LayerSurface.cpp +++ b/src/desktop/LayerSurface.cpp @@ -53,7 +53,7 @@ PHLLS CLayerSurface::create(SP<CLayerShellResource> resource) { void CLayerSurface::registerCallbacks() { m_alpha->setUpdateCallback([this](auto) { - if (m_dimAround) + if (m_dimAround && m_monitor) g_pHyprRenderer->damageMonitor(m_monitor.lock()); }); } |
