layer-shell: render popups above everything

This commit is contained in:
Vaxry 2024-03-25 16:20:30 +00:00
parent ca17a89d86
commit ae17e900e7
6 changed files with 42 additions and 6 deletions

View file

@ -171,6 +171,9 @@ bool SLayerSurface::isFadedOut() {
}
int SLayerSurface::popupsCount() {
if (!layerSurface || !mapped || fadingOut)
return 0;
int no = 0;
wlr_layer_surface_v1_for_each_popup_surface(
layerSurface, [](wlr_surface* s, int x, int y, void* data) { *(int*)data += 1; }, &no);