Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Focus full reset after wake event
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 23, 2024
1 parent 8d4fe6a commit cb9730f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Aware/macOS/ActivityMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ struct ActivityMonitor {
NSWorkspace.willPowerOffNotification:
state.deactivate()
case NSWorkspace.didWakeNotification, NSWorkspace.screensDidWakeNotification:
state.deactivate()
state.activate()
default:
assertionFailure("unexpected notification: \(name.rawValue)")
Expand Down

0 comments on commit cb9730f

Please sign in to comment.