shell: Unmaximize windows on the target workspace when moving groups
This commit is contained in:
parent
9ee701ee64
commit
5cef49d2ce
1 changed files with 13 additions and 0 deletions
|
|
@ -2734,6 +2734,19 @@ impl Shell {
|
||||||
stack.append(elem);
|
stack.append(elem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if to_workspace.tiling_enabled {
|
||||||
|
for mapped in to_workspace
|
||||||
|
.mapped()
|
||||||
|
.filter(|m| m.maximized_state.lock().unwrap().is_some())
|
||||||
|
.cloned()
|
||||||
|
.collect::<Vec<_>>()
|
||||||
|
.into_iter()
|
||||||
|
{
|
||||||
|
to_workspace.unmaximize_request(&mapped);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let res = TilingLayout::move_tree(
|
let res = TilingLayout::move_tree(
|
||||||
&mut from_workspace.tiling_layer,
|
&mut from_workspace.tiling_layer,
|
||||||
&mut to_workspace.tiling_layer,
|
&mut to_workspace.tiling_layer,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue