From 52b3f930a88db6cdde73dbdd65a056cdc0efa40f Mon Sep 17 00:00:00 2001 From: Joseph Buckingham Date: Mon, 11 May 2026 15:51:59 -0700 Subject: [PATCH] fix: debug build pinning panic --- src/shell/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/workspace.rs b/src/shell/workspace.rs index 31682bf4..37cda1b5 100644 --- a/src/shell/workspace.rs +++ b/src/shell/workspace.rs @@ -436,9 +436,9 @@ impl Workspace { } pub fn to_pinned(&self) -> Option { - debug_assert!(self.id.is_some()); let output = self.explicit_output().clone(); if self.pinned { + debug_assert!(self.id.is_some()); Some(PinnedWorkspace { output: cosmic_comp_config::workspace::OutputMatch { name: output.name,