mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
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:
parent
455d85e01c
commit
09949e6faf
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue