move windows to back of cycle when they are minimized

This commit is contained in:
bi4k8 2021-12-03 02:36:38 +00:00 committed by ARDiDo
parent b7d4df28c8
commit 7b7178ebfa
3 changed files with 14 additions and 0 deletions

View file

@ -79,6 +79,7 @@ view_minimize(struct view *view, bool minimized)
view->minimized = minimized;
if (minimized) {
view->impl->unmap(view);
desktop_move_view_to_end_of_cycle(view);
} else {
view->impl->map(view);
}