mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-10 09:01:55 -07:00
massive-fix (#2725)
This commit is contained in:
@@ -2348,7 +2348,7 @@ bool CCompositor::isWorkspaceSpecial(const int& id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int CCompositor::getNewSpecialID() {
|
int CCompositor::getNewSpecialID() {
|
||||||
int highest = -100;
|
int highest = SPECIAL_WORKSPACE_START;
|
||||||
for (auto& ws : m_vWorkspaces) {
|
for (auto& ws : m_vWorkspaces) {
|
||||||
if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) {
|
if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) {
|
||||||
highest = ws->m_iID;
|
highest = ws->m_iID;
|
||||||
|
Reference in New Issue
Block a user