From b8ebbda9693bb03ec5c3e7068b4d2cd86727a309 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Sun, 31 Oct 2021 08:47:53 +0100 Subject: [PATCH] Also list empty workspaces... ... which must either be the current workspace or a workspace on another output. Otherwise, they would not exist. --- src/con.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/con.rs b/src/con.rs index 8382f17..8f64aa1 100644 --- a/src/con.rs +++ b/src/con.rs @@ -342,9 +342,7 @@ fn build_workspaces<'a>( ) -> Vec> { 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; }