mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
fixed #23
This commit is contained in:
parent
ce024f7c36
commit
e0034f7386
1 changed files with 4 additions and 0 deletions
|
@ -1408,6 +1408,10 @@ void CWindowManager::changeWorkspaceByID(int ID) {
|
||||||
MONITOR = &monitors[0];
|
MONITOR = &monitors[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't change if already opened
|
||||||
|
if (isWorkspaceVisible(ID))
|
||||||
|
return;
|
||||||
|
|
||||||
// mark old workspace dirty
|
// mark old workspace dirty
|
||||||
setAllWorkspaceWindowsDirtyByID(activeWorkspaces[MONITOR->ID]);
|
setAllWorkspaceWindowsDirtyByID(activeWorkspaces[MONITOR->ID]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue