mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-17 00:22:07 +01:00
input: fix input regions being ignored on ls-es (#6413)
This commit is contained in:
parent
b17381eb81
commit
90d0097716
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue