From dad57da9058f01b8e77f33ab866f26f3137a1283 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 8 Oct 2025 00:04:14 -0400 Subject: [PATCH] fix: do nothing if moving to existing workspace --- modules/Commands.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/Commands.qml b/modules/Commands.qml index 1a41fdd..f2210cf 100644 --- a/modules/Commands.qml +++ b/modules/Commands.qml @@ -58,6 +58,7 @@ Scope { } else { id = uiState.workspaces.get(index).workspace.id; } + if (id === Hypr.focusedWorkspace.id) return; Hypr.dispatch(`workspace ${id}`); } @@ -80,6 +81,7 @@ Scope { } else { id = uiState.workspaces.get(index).workspace.id; } + if (id === Hypr.focusedWorkspace.id) return; Hypr.dispatch(`hy3:movetoworkspace ${id}`); }