diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-06-03 12:20:23 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-06-03 12:20:28 +0200 |
| commit | 147e962370069e6e3ec8054ef4243fc3fd69c9e8 (patch) | |
| tree | d19ba0103a7a60803e4aa90224273eae7ccfff2b /src/Compositor.cpp | |
| parent | d7db7040d45a897adc598c3ba2e4b795f7e2a9b5 (diff) | |
deps: update wlroots
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index cfbc11b5..27b4c9cf 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -986,7 +986,7 @@ CWindow* CCompositor::getWindowForPopup(wlr_xdg_popup* popup) { wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<std::unique_ptr<SLayerSurface>>* layerSurfaces, Vector2D* sCoords, SLayerSurface** ppLayerSurfaceFound) { for (auto& ls : *layerSurfaces | std::views::reverse) { - if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->mapped) || ls->alpha.fl() == 0.f) + if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->surface->mapped) || ls->alpha.fl() == 0.f) continue; auto SURFACEAT = wlr_layer_surface_v1_surface_at(ls->layerSurface, pos.x - ls->geometry.x, pos.y - ls->geometry.y, &sCoords->x, &sCoords->y); |
