diff --git a/ChangeLog b/ChangeLog
index 56bee6d7b..3969161f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
* Source/NSMenuView.m: ([-sizeToFit]) Fix bug #15631
([-locationForSubmenu:]) for horizontal root menus, make successive
submenus be positioned with top left corner next to item in parent.
+ * Source/NSApplication.m: Pass info in hide/unhide notifications.
2006-02-04 Richard Frith-Macdonald
See Also: -applicationIconImage
{ if (_app_is_hidden == NO) { - NSArray *windows_list = [self windows]; - unsigned count = [windows_list count]; - unsigned i; + NSArray *windows_list = [self windows]; + unsigned count = [windows_list count]; + NSDictionary *info; + unsigned i; [nc postNotificationName: NSApplicationWillHideNotification object: self]; @@ -2257,12 +2258,14 @@ image.See Also: -applicationIconImage
[self deactivate]; _unhide_on_activation = YES; + info = [self _notificationUserInfo]; [nc postNotificationName: NSApplicationDidHideNotification - object: self]; + object: self + userInfo: info]; [[[NSWorkspace sharedWorkspace] notificationCenter] postNotificationName: NSApplicationDidHideNotification object: [NSWorkspace sharedWorkspace] - userInfo: [self _notificationUserInfo]]; + userInfo: info]; } } @@ -2300,8 +2303,9 @@ image.See Also: -applicationIconImage
{ if (_app_is_hidden == YES) { - unsigned count; - unsigned i; + NSDictionary *info; + unsigned count; + unsigned i; [nc postNotificationName: NSApplicationWillUnhideNotification object: self]; @@ -2325,12 +2329,14 @@ image.See Also: -applicationIconImage
} [[_app_icon_window contentView] setNeedsDisplay: YES]; + info = [self _notificationUserInfo]; [nc postNotificationName: NSApplicationDidUnhideNotification - object: self]; + object: self + userInfo: info]; [[[NSWorkspace sharedWorkspace] notificationCenter] postNotificationName: NSApplicationDidUnhideNotification object: [NSWorkspace sharedWorkspace] - userInfo: [self _notificationUserInfo]]; + userInfo: info]; } }