Skip to content

Commit

Permalink
Fix issue that prevented window events to register for recently launc…
Browse files Browse the repository at this point in the history
…hed apps (#264)
  • Loading branch information
kasper committed Mar 21, 2021
1 parent 3eceb66 commit 4354733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Release: dd.mm.yyyy

### Bug Fixes

- Fix issue that prevented window events to register for recently launched apps ([#264](https://github.com/kasper/phoenix/issues/264)).
- Fix issue that caused `App#mainWindow()` to return a broken Window instance when the app is for example minimised. The function will now correctly return `undefined` in such cases ([#269](https://github.com/kasper/phoenix/issues/269)).

2.6.6
Expand Down
2 changes: 1 addition & 1 deletion Phoenix/PHAXObserver.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ - (void) setup {
kCFRunLoopDefaultMode);

for (NSString *notification in [PHAXObserver notifications]) {
[self performSelectorInBackground:@selector(addNotification:) withObject:notification];
[self performSelector:@selector(addNotification:) withObject:notification afterDelay:1];
}
}

Expand Down

0 comments on commit 4354733

Please sign in to comment.