view: fix top-layer not showing when there's a minimized full-screen view

This commit is contained in:
Franz Berger 2024-05-08 00:25:44 +02:00 committed by Consolatis
parent d30fbbeafa
commit 097ac44eda
2 changed files with 8 additions and 0 deletions

View file

@ -233,6 +233,9 @@ desktop_update_top_layer_visiblity(struct server *server)
enum lab_view_criteria criteria =
LAB_VIEW_CRITERIA_CURRENT_WORKSPACE | LAB_VIEW_CRITERIA_FULLSCREEN;
for_each_view(view, &server->views, criteria) {
if (view->minimized) {
continue;
}
if (!output_is_usable(view->output)) {
continue;
}