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

Commit cb9730f

Browse files
committed
Focus full reset after wake event
1 parent 8d4fe6a commit cb9730f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Aware/macOS/ActivityMonitor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ struct ActivityMonitor {
5959
NSWorkspace.willPowerOffNotification:
6060
state.deactivate()
6161
case NSWorkspace.didWakeNotification, NSWorkspace.screensDidWakeNotification:
62+
state.deactivate()
6263
state.activate()
6364
default:
6465
assertionFailure("unexpected notification: \(name.rawValue)")

0 commit comments

Comments
 (0)