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
|
||||
.mapped()
|
||||
.filter(|m| m.maximized_state.lock().unwrap().is_some())
|
||||
.filter(|m| m.maximized_state.lock().unwrap().is_some() && *m != &element)
|
||||
.cloned()
|
||||
.collect::<Vec<_>>()
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue