additionally try wake on screen unlock (#430)

This commit is contained in:
Felix Kratz 2023-11-04 22:05:29 +01:00
parent f5ab515260
commit 412540a5af

View file

@ -107,6 +107,10 @@ CGImageRef workspace_icon_for_app(char* app) {
selector:@selector(didChangeMenuBarHiding:)
name:@"AppleInterfaceMenuBarHidingChangedNotification"
object:nil];
[[NSDistributedNotificationCenter defaultCenter] addObserver:self
selector:@selector(didWake:)
name:@"com.apple.screenIsUnlocked"
object:nil];
}
return self;