mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 16:45:59 +01:00
massive-fix (#2725)
This commit is contained in:
parent
b156a9654f
commit
cacdb424a9
1 changed files with 1 additions and 1 deletions
|
@ -2348,7 +2348,7 @@ bool CCompositor::isWorkspaceSpecial(const int& id) {
|
|||
}
|
||||
|
||||
int CCompositor::getNewSpecialID() {
|
||||
int highest = -100;
|
||||
int highest = SPECIAL_WORKSPACE_START;
|
||||
for (auto& ws : m_vWorkspaces) {
|
||||
if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) {
|
||||
highest = ws->m_iID;
|
||||
|
|
Loading…
Reference in a new issue