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
1 changed files with 3 additions and 0 deletions

View File

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