diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-04 23:46:10 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-04 23:46:10 +0100 |
| commit | 0b215c5f246d3fde6c023e78b3e3579f7498c172 (patch) | |
| tree | b4449e42b8deb0efc259b463307e2f1e69335dc0 /src/desktop/LayerSurface.cpp | |
| parent | a3309b51a254f142c535022615be6f76eb23fa9b (diff) | |
idle-inhibit: fix and cleanup visibility logic
fixes #5878
Diffstat (limited to 'src/desktop/LayerSurface.cpp')
| -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 dd2cfb7d..d472b906 100644 --- a/src/desktop/LayerSurface.cpp +++ b/src/desktop/LayerSurface.cpp @@ -90,7 +90,7 @@ PHLLS CLayerSurface::create(wlr_layer_surface_v1* pWLRLS) { pLS->alpha.setValueAndWarp(0.f); - pLS->surface.assign(pWLRLS->surface); + pLS->surface.assign(pWLRLS->surface, pLS); return pLS; } |
