Merge pull request #21 from pop-os/fix/workspace_dbg
workspace: Remove left over and spammy dbg!-statement
This commit is contained in:
commit
1a13ea6d00
1 changed files with 2 additions and 2 deletions
|
|
@ -154,12 +154,12 @@ impl State {
|
||||||
.iter()
|
.iter()
|
||||||
.filter_map(|g| {
|
.filter_map(|g| {
|
||||||
if g.output == self.expected_output {
|
if g.output == self.expected_output {
|
||||||
Some(g.workspaces.iter().map(|w| dbg!((w.name.clone(), match &w.states {
|
Some(g.workspaces.iter().map(|w| (w.name.clone(), match &w.states {
|
||||||
x if x.contains(&zcosmic_workspace_handle_v1::State::Active) => 0,
|
x if x.contains(&zcosmic_workspace_handle_v1::State::Active) => 0,
|
||||||
x if x.contains(&zcosmic_workspace_handle_v1::State::Urgent) => 1,
|
x if x.contains(&zcosmic_workspace_handle_v1::State::Urgent) => 1,
|
||||||
x if x.contains(&zcosmic_workspace_handle_v1::State::Hidden) => 2,
|
x if x.contains(&zcosmic_workspace_handle_v1::State::Hidden) => 2,
|
||||||
_ => 3,
|
_ => 3,
|
||||||
}))))
|
})))
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue