Skip to content

Commit

Permalink
Merge pull request #622 from Taylor-Finch/master
Browse files Browse the repository at this point in the history
Clear 'ACTIVE' on minimized when changing desktop
  • Loading branch information
joewing authored Jul 17, 2024
2 parents 90fe160 + ad20ee2 commit 840e618
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/desktop.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ void ChangeDesktop(unsigned int desktop)
}
if(np->state.desktop == currentDesktop) {
HideClient(np);
if((np->state.status & STAT_MINIMIZED) && (np->state.status & STAT_ACTIVE)) {
np->state.status &= ~STAT_ACTIVE;
}
}
}
}
Expand Down

0 comments on commit 840e618

Please sign in to comment.