focus: set minimized windows unfocused
This commit is contained in:
parent
3eb3e3b1c0
commit
d85b6f0e50
1 changed files with 8 additions and 0 deletions
|
|
@ -197,6 +197,10 @@ impl Shell {
|
||||||
window.set_activated(focused_windows.contains(&window));
|
window.set_activated(focused_windows.contains(&window));
|
||||||
window.configure();
|
window.configure();
|
||||||
}
|
}
|
||||||
|
for m in set.minimized_windows.iter() {
|
||||||
|
m.window.set_activated(false);
|
||||||
|
m.window.configure();
|
||||||
|
}
|
||||||
|
|
||||||
let workspace = self.workspaces.active_mut(&output);
|
let workspace = self.workspaces.active_mut(&output);
|
||||||
for focused in focused_windows.iter() {
|
for focused in focused_windows.iter() {
|
||||||
|
|
@ -206,6 +210,10 @@ impl Shell {
|
||||||
window.set_activated(focused_windows.contains(&window));
|
window.set_activated(focused_windows.contains(&window));
|
||||||
window.configure();
|
window.configure();
|
||||||
}
|
}
|
||||||
|
for m in workspace.minimized_windows.iter() {
|
||||||
|
m.window.set_activated(false);
|
||||||
|
m.window.configure();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue