Skip to content

Commit

Permalink
workspaces: don't try to reopen special workspaces (hyprwm#6802)
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtCode authored Jul 7, 2024
1 parent 19fb13e commit 22138ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/helpers/Monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 22138ac

Please sign in to comment.