view.c: Remove 'activated' flag when minimizing a view

Before this change a window that had been minimized showed up with states Minimized and Activated.
For foreign-toplevel clients like taskbars that could mean to handle multiple windows at once
having a 'activated' state even though they were clearly minimized.
This commit is contained in:
Consolatis 2021-12-27 23:41:33 +01:00 committed by ARDiDo
parent 455d85e01c
commit 09949e6faf

View file

@ -88,6 +88,7 @@ view_minimize(struct view *view, bool minimized)
if (minimized) {
view->impl->unmap(view);
desktop_move_to_back(view);
view_set_activated(view, false);
} else {
view->impl->map(view);
}