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

@ -648,6 +648,11 @@ view_minimize(struct view *view, bool minimized)
struct view *root = view_get_root(view);
_minimize(root, minimized);
minimize_sub_views(root, minimized);
/* Enable top-layer when full-screen views are minimized */
if (view->fullscreen && view->output) {
desktop_update_top_layer_visiblity(view->server);
}
}
bool