mirror of
https://github.com/Trensa-Organization/Hyprland.git
synced 2025-03-15 18:53:39 +01:00
ignore focus to empty input region ls-es
This commit is contained in:
parent
4b8d417fca
commit
2b888d5106
1 changed files with 3 additions and 0 deletions
|
@ -924,6 +924,9 @@ wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<
|
|||
}
|
||||
|
||||
if (SURFACEAT) {
|
||||
if (!pixman_region32_not_empty(&SURFACEAT->input_region))
|
||||
continue;
|
||||
|
||||
*ppLayerSurfaceFound = it->get();
|
||||
return SURFACEAT;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue