input: fix input regions being ignored on ls-es (#6413)

This commit is contained in:
outfoxxed 2024-06-11 08:01:25 -07:00 committed by GitHub
parent b17381eb81
commit 90d0097716
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1056,7 +1056,7 @@ SP<CWLSurfaceResource> 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())