no need to reload status bar when the window becomes/resigns main, since it is now the same when inactive or inactive
This commit is contained in:
parent
44075895b2
commit
4a301fdf82
|
@ -3246,17 +3246,10 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||||
|
|
||||||
- (void) windowDidBecomeMain: (NSNotification *) notification
|
- (void) windowDidBecomeMain: (NSNotification *) notification
|
||||||
{
|
{
|
||||||
[fStatusBar setNeedsDisplay: YES];
|
|
||||||
|
|
||||||
[fBadger clearCompleted];
|
[fBadger clearCompleted];
|
||||||
[self updateUI];
|
[self updateUI];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) windowDidResignMain: (NSNotification *) notification
|
|
||||||
{
|
|
||||||
[fStatusBar setNeedsDisplay: YES];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSSize) windowWillResize: (NSWindow *) sender toSize: (NSSize) proposedFrameSize
|
- (NSSize) windowWillResize: (NSWindow *) sender toSize: (NSSize) proposedFrameSize
|
||||||
{
|
{
|
||||||
//only resize horizontally if autosize is enabled
|
//only resize horizontally if autosize is enabled
|
||||||
|
|
Loading…
Reference in New Issue