Merge pull request #21 from pop-os/fix/workspace_dbg

workspace: Remove left over and spammy dbg!-statement
This commit is contained in:
Ashley Wulber 2022-07-12 10:45:12 -04:00 committed by GitHub
commit 1a13ea6d00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,12 +154,12 @@ impl State {
.iter()
.filter_map(|g| {
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::Urgent) => 1,
x if x.contains(&zcosmic_workspace_handle_v1::State::Hidden) => 2,
_ => 3,
}))))
})))
} else {
None
}