Skip to content

Commit fe3dda4

Browse files
authored
Merge pull request #3932 from rokiden/fix-urgent-special
hyprland/workspaces: fixed urgent for special workspaces
2 parents 0d8d425 + cc94278 commit fe3dda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/hyprland/workspaces.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ void Workspaces::updateWorkspaceStates() {
866866
for (auto &workspace : m_workspaces) {
867867
workspace->setActive(workspace->name() == m_activeWorkspaceName ||
868868
workspace->name() == m_activeSpecialWorkspaceName);
869-
if (workspace->name() == m_activeWorkspaceName && workspace->isUrgent()) {
869+
if (workspace->isActive() && workspace->isUrgent()) {
870870
workspace->setUrgent(false);
871871
}
872872
workspace->setVisible(std::find(visibleWorkspaces.begin(), visibleWorkspaces.end(),

0 commit comments

Comments
 (0)