mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -07:00
ignore focus to empty input region ls-es
This commit is contained in:
@@ -924,6 +924,9 @@ wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (SURFACEAT) {
|
if (SURFACEAT) {
|
||||||
|
if (!pixman_region32_not_empty(&SURFACEAT->input_region))
|
||||||
|
continue;
|
||||||
|
|
||||||
*ppLayerSurfaceFound = it->get();
|
*ppLayerSurfaceFound = it->get();
|
||||||
return SURFACEAT;
|
return SURFACEAT;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user