Merge pull request #3932 from rokiden/fix-urgent-special

hyprland/workspaces: fixed urgent for special workspaces
This commit is contained in:
Alexis Rouillard 2025-02-20 09:11:07 +01:00 committed by GitHub
commit fe3dda4c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ void Workspaces::updateWorkspaceStates() {
for (auto &workspace : m_workspaces) {
workspace->setActive(workspace->name() == m_activeWorkspaceName ||
workspace->name() == m_activeSpecialWorkspaceName);
if (workspace->name() == m_activeWorkspaceName && workspace->isUrgent()) {
if (workspace->isActive() && workspace->isUrgent()) {
workspace->setUrgent(false);
}
workspace->setVisible(std::find(visibleWorkspaces.begin(), visibleWorkspaces.end(),