ignore focus to empty input region ls-es

This commit is contained in:
vaxerski 2022-12-22 15:03:32 +00:00
parent 4b8d417fca
commit 2b888d5106

View file

@ -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;
} }