From 73e60d26cb258916db6e7da3307e41aeb6e09d28 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 10 Jun 2024 17:25:10 -0700 Subject: [PATCH] layerSurface: respect input regions --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 5c0b8eaa0c6..5cb7c7be24c 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1056,7 +1056,7 @@ SP CCompositor::vectorToLayerSurface(const Vector2D& pos, st if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->surface->mapped) || ls->alpha.value() == 0.f) continue; - auto [surf, local] = ls->layerSurface->surface->at(pos - ls->geometry.pos()); + auto [surf, local] = ls->layerSurface->surface->at(pos - ls->geometry.pos(), true); if (surf) { if (surf->current.input.empty())