mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +01:00
workspaces: don't try to reopen special workspaces (#6802)
This commit is contained in:
parent
19fb13e6cf
commit
22138ac259
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue