fix: only unmaximize on activation if maximized != target
This commit is contained in:
parent
50c170c355
commit
d36480c1b5
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ impl State {
|
||||||
{
|
{
|
||||||
for mapped in current_workspace
|
for mapped in current_workspace
|
||||||
.mapped()
|
.mapped()
|
||||||
.filter(|m| m.maximized_state.lock().unwrap().is_some())
|
.filter(|m| m.maximized_state.lock().unwrap().is_some() && *m != &element)
|
||||||
.cloned()
|
.cloned()
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue