if you open a new window while an overlay is mapped, the overlay should stay focused
DI5JM3QZKGN2RLH7PJLPDTQL3JLDYJGV6NHRNB23EZAV6IMJM23AC
}
bool
shouldfocusclients(Monitor *m)
{
LayerSurface *layersurface;
uint32_t layers_above_shell[] = {
ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
ZWLR_LAYER_SHELL_V1_LAYER_TOP,
};
for (unsigned int i = 0; i < LENGTH(layers_above_shell); ++i)
wl_list_for_each(layersurface, &m->layers[layers_above_shell[i]], link)
if (layersurface->layer_surface->current.keyboard_interactive &&
!layersurface->unmapping)
return false;
return true;