trunk: refresh status bar and completed badge when window becomes/resigns main, not key
This commit is contained in:
parent
caa5c24cf3
commit
c5836d33e0
|
@ -3237,7 +3237,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
[fWindow makeKeyAndOrderFront: nil];
|
||||
}
|
||||
|
||||
- (void) windowDidBecomeKey: (NSNotification *) notification
|
||||
- (void) windowDidBecomeMain: (NSNotification *) notification
|
||||
{
|
||||
[fStatusBar setNeedsDisplay: YES];
|
||||
|
||||
|
@ -3245,7 +3245,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
[self updateUI];
|
||||
}
|
||||
|
||||
- (void) windowDidResignKey: (NSNotification *) notification
|
||||
- (void) windowDidResignMain: (NSNotification *) notification
|
||||
{
|
||||
[fStatusBar setNeedsDisplay: YES];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue