xwm: Include minimized windows when restacking
This commit is contained in:
parent
bf8fb0ac24
commit
66d1016003
1 changed files with 9 additions and 1 deletions
|
|
@ -204,7 +204,15 @@ impl Common {
|
||||||
)
|
)
|
||||||
.flat_map(|(_, workspace)| {
|
.flat_map(|(_, workspace)| {
|
||||||
workspace.get_fullscreen().cloned().into_iter().chain(
|
workspace.get_fullscreen().cloned().into_iter().chain(
|
||||||
workspace.mapped().flat_map(|mapped| {
|
workspace
|
||||||
|
.mapped()
|
||||||
|
.chain(
|
||||||
|
workspace
|
||||||
|
.minimized_windows
|
||||||
|
.iter()
|
||||||
|
.map(|m| &m.window),
|
||||||
|
)
|
||||||
|
.flat_map(|mapped| {
|
||||||
let active = mapped.active_window();
|
let active = mapped.active_window();
|
||||||
std::iter::once(active.clone()).chain(
|
std::iter::once(active.clone()).chain(
|
||||||
mapped
|
mapped
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue