mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
input: fix input regions being ignored on ls-es (#6413)
This commit is contained in:
parent
b17381eb81
commit
90d0097716
@ -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)
|
if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->surface->mapped) || ls->alpha.value() == 0.f)
|
||||||
continue;
|
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) {
|
||||||
if (surf->current.input.empty())
|
if (surf->current.input.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user