Also list empty workspaces...

... which must either be the current workspace or a workspace on another
output.  Otherwise, they would not exist.
timeout_old
Tassilo Horn 3 years ago
parent fa74f052bd
commit b8ebbda969
  1. 4
      src/con.rs

@ -342,9 +342,7 @@ fn build_workspaces<'a>(
) -> Vec<Workspace<'a>> {
let mut v = vec![];
for workspace in root.workspaces() {
if workspace.windows().is_empty()
|| workspace.is_scratchpad() && !include_scratchpad
{
if workspace.is_scratchpad() && !include_scratchpad {
continue;
}

Loading…
Cancel
Save