From 22138ac259b2f4253be29311f6b60fbd675074b4 Mon Sep 17 00:00:00 2001 From: Virt <41426325+VirtCode@users.noreply.github.com> Date: Sun, 7 Jul 2024 21:27:18 +0200 Subject: [PATCH] workspaces: don't try to reopen special workspaces (#6802) --- src/helpers/Monitor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 199b1c5d..20c2e81e 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -652,6 +652,9 @@ void CMonitor::changeWorkspace(const int& id, bool internal, bool noMouseMove, b } void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) { + if (activeSpecialWorkspace == pWorkspace) + return; + g_pHyprRenderer->damageMonitor(this); if (!pWorkspace) {