mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-10 00:51:58 -07:00
workspaces: don't try to reopen special workspaces (#6802)
This commit is contained in:
@@ -652,6 +652,9 @@ void CMonitor::changeWorkspace(const int& id, bool internal, bool noMouseMove, b
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) {
|
void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) {
|
||||||
|
if (activeSpecialWorkspace == pWorkspace)
|
||||||
|
return;
|
||||||
|
|
||||||
g_pHyprRenderer->damageMonitor(this);
|
g_pHyprRenderer->damageMonitor(this);
|
||||||
|
|
||||||
if (!pWorkspace) {
|
if (!pWorkspace) {
|
||||||
|
Reference in New Issue
Block a user